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

Rename IUnionEncoder to IEventCodec #27

Closed bartelink closed 4 years ago

bartelink commented 5 years ago

While the encoding support started as a very light wrapper of the TypeShape UnionEncoder (before it was called that!). However

So... in V2 we should thus consider renaming IUnionEncoder to IEventCodec. https://github.com/jet/FsCodec/blob/master/src/FsCodec/FsCodec.fs#L31

As this will be a breaking change, it should accompany some meaningful new feature, i.e. #14