FsCodec icon indicating copy to clipboard operation
FsCodec copied to clipboard

F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json

Results 9 FsCodec issues
Sort by recently updated
recently updated
newest added

- Convert all Tuple/Option types to the `struct` versions - can be a touch ugly in usage, but hopefully future F# versions make it less so. - Major other change...

In a team environment, where the way event contracts are composed is often a matter of debate, it can be useful to have a way to validate that types that...

enhancement
up-for-grabs

re #116 Spiking full upconvert including default-initializing if the case gains a record and/or tupled body Right now this yields null CartIds etc ... but the normal upconvert is also...

In the spirit of https://github.com/jet/FsCodec/pull/87 this attempts to guard against the read path producing `null` instances of `FSharpList`. However, while the docs suggest that this general approach should work, I've...

Support upconversion from a representation of an event starts with `TypeSafeEnumConverter` for a given union (and hence has a `string` value), being able to implicitly upconvert from that if the...

Provide an upconversion that lets you write the updated form per `TypeSafeEnumConverter`, but also accept mangled versions that predate impl of #96 i.e. read: ``` "items": [ { "serviceId": "5c8795be52e34e82883d61babed19513",...

Backport [the `autoTypeSafeEnumToJsonString` and `autoUnionToJsonObject` options](https://github.com/jet/FsCodec#fscodecsystemtextjsonoptions) to avoid the nasty surprised the default impl causes *when* (not if!) people fall into the default rendering trap for things lke: a) `TypeSafeEnum`s...

[System.Text.son currently throws a clear exception if you ask it to serialize a F# DU (which IMO is the correct behavior)](https://github.com/dotnet/runtime/issues/55744) NSJ instead uses its quirky encoding; I've seen many...

Need to apply same as https://github.com/jet/equinox/pull/455 here

good first issue
up-for-grabs