graphql-client
graphql-client copied to clipboard
.NET 8.0 Issue w/ SystemTextJsonSerializer
trafficstars
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."
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.