wivuu / Wivuu.JsonPolymorphism

Adds System.Text.Json serializer support for polymorphism with a discriminator attribute
MIT License
25 stars 3 forks source link

Add additional TFM so that framework can provide STJ #16

Closed thompson-tomo closed 6 months ago

thompson-tomo commented 6 months ago

Is your feature request related to a problem? Please describe. I want to minimise dependencies in my project by utilising framework dependencies wherever possible

Describe the solution you'd like I want the package to not have an explicit dependency on System.Text.Json as it can be provided by the framework when targeting net 6.

Describe alternatives you've considered Accept the additional dependency

Additional context n/a

onionhammer commented 6 months ago

Hi @thompson-tomo

Would you be interested in submitting a pull-request?

thompson-tomo commented 6 months ago

Sure thing

onionhammer commented 6 months ago

@thompson-tomo I did find a regression in this version, so I'll investigate it next week; un-publishing for now

onionhammer commented 6 months ago

@thompson-tomo 1.0.20 is out now; I've dropped support for .NET standard, since it's no longer used in any versions of .NET which are not out of support.