Skip to content

Consider exposing a serialization mechanism that supports open hierarchies for AIContent #5547

Open

Description

The AIContent type uses JsonDerivedTypeAttribute to support polymorphic serialization which by design is constrained to the types defined within the M.E.AI.Abstractions assembly only. We should consider exposing a mechanism that lets users register converters for custom content types, in a way that is compatible with the source generator and Native AOT.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions