Support inheritence with JSON POCO mapping
Open
area-json
area-model-building
consider-for-next-release
customer-reported
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
System.Text.Json has [polymorphic deserialization](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-7-0) in 7.0. We should implement a similar scheme here with `$type`, so that JSON documents we produce are compatible with that.
Originally requested in https://github.com/npgsql/efcore.pg/issues/2321
Contributor guide
Assessment
This issue has not been assessed yet.