Uh oh!
There was an error while loading. Please reload this page.
Remove JsonConverter.RuntimeType - #65224
Conversation
ghost
commented
Feb 11, 2022
Tagging subscribers to this area: @dotnet/area-system-text-json Issue DetailsBackports infrastructural changes introduced in the polymorphic serialization prototype branch.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
krwq
commented
Feb 15, 2022
overall looks good, I think you should remove unnecessary RequiresUnreferencedCode (RUC) from the code, treat rest of the comments as enahncements and no need to block on them |
Backports changes introduced in the polymorphic deserialization prototype. JsonConverter.RuntimeType is an implementation detail stemming from interface support in collection converters, that has leaked into the JsonTypeInfo model. Removing it makes the contract model cleaner and makes the infrastructure compatible with polymorphic deserialization.
f165444 to
88cec71Compare
Backports infrastructural changes introduced in the polymorphic serialization prototype branch.
JsonConverter.RuntimeTypeis an implementation detail stemming from interface support in collection converters, that has leaked into theJsonTypeInfomodel. Removing it makes the contract model cleaner and makes the metadata infrastructure compatible with polymorphic deserialization.Related to #54420, #63747.