Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 8.0 Issue w/ SystemTextJsonSerializer #607

Open
Sigrec opened this issue Nov 30, 2023 · 1 comment
Open

.NET 8.0 Issue w/ SystemTextJsonSerializer #607

Sigrec opened this issue Nov 30, 2023 · 1 comment

Comments

@Sigrec
Copy link

Sigrec commented Nov 30, 2023

When making a call this is the error I receive and it causes the call to always return a null value, is there a way to resolve this?

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

@rose-a
Copy link
Collaborator

rose-a commented Dec 1, 2023

https://devblogs.microsoft.com/dotnet/system-text-json-in-dotnet-8/

This library does not use trimming and does not have the feature switch IsReflectionEnabledByDefault set. Please check your project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants