You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.Text.Json source generator does not handle reference types with design time custom converter properly #56864
The source generator always emits this when a JsonConverter attribute is present on the type to serialize, however, the code is only valid for value types.
The type 'Repro' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'JsonMetadataServices.GetNullableConverter<T>(JsonTypeInfo<T>)'
Configuration
The issue is present on the latest build. (System.Text.Json 6.0.0-rc.1.21404.6)
Activity
steveharter commentedon Aug 18, 2021
Reopened for likely port to https://github.com/dotnet/runtime/tree/release/6.0