5

Release Stateful Serdes, System.Text.Json UnionEncoder, STJ autoUnion mode · jet...

 2 years ago
source link: https://github.com/jet/fscodec/releases/2.3.0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Stateful Serdes, System.Text.Json UnionEncoder, STJ autoUnion mode

Latest

Added

  • SystemTextJson.UnionOrTypeSafeEnumConverterFactory: Global converter that automatically applies a TypeSafeEnumConverter to all Discriminated Unions that support it, and UnionConverter to all others #69
  • SystemTextJson.Options(autoUnion = true): Automated wireup of UnionOrTypeSafeEnumConverterFactory #69
  • SystemTextJson.UnionConverter: Port of NewtonsoftJson equivalent started in #43 #59 pray@NickDarvey

Changed

  • Serdes: Changed Serdes to be stateful, requiring a specific set of Options/Settings that are always applied consistently #70
  • Serdes.DefaultSettings: Updated README.md ASP.NET integration advice to reflect minor knock-on effect #70
  • SystemTextJson: Target System.Text.Json v 6.0.1, TypeShape v 9.0.0 #68

See CHANGELOG


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK