Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
325 stars 44 forks source link

Options must be overridable by JsonFSharpConverterAttribute #69

Closed Tarmil closed 3 years ago

Tarmil commented 3 years ago

Currently, if JsonFSharpConverter is added to the converters, it will always take precedence over a type's JsonFSharpConverterAttribute. It should be possible to invert this, so that a specific type can override options such as its unionTagName and unionFieldsName.