Skip to content

Support AOT #79

Description

@Sella-GH

Hello, would it be possible to utilize the System.Text.Json Source Generators instead of the reflection-based approach?

In my app I have the reflection-based json serializing deactivated which resulted in the following exception occurring:

System.InvalidOperationException:
'Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.'

This would also be a step to make the library Native AOT compatible by default. 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions