jet / FsCodec

F# Event-Union Contract Encoding with versioning tolerant converters supporting System.Text.Json and Newtonsoft.Json
https://github.com/jet/dotnet-templates
Apache License 2.0
83 stars 19 forks source link

refactor!: Rename IEventCodec.TryDecode to Decode #107

Closed nordfjord closed 10 months ago

nordfjord commented 10 months ago

this reduces confusion as TryDecode can actually throw an exception and the voption return value is to indicate that the event, while valid (probably at some other time in the past), should be ignored

bartelink commented 10 months ago

Thanks! The small changes (that takes ages!) are every bit as imporant...