Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bartelink
Copy link
Collaborator

@bartelink bartelink commented Aug 26, 2023

The TypeSafeEnum helper class initially lived in NewtonsoftJson as it was an internal impl detail of the converter
The STJ reimpl did some optimisation etc while following the same API

This comes to a head on the consumption side if you need to programmatically manipulate Union and/or TypeSafeEnum generically; abusing FsCodec.SystemTextJson.TypeSafeEnum.toString makes things very confusing.

@bartelink bartelink merged commit d9f9a1b into master Aug 28, 2023
@bartelink bartelink deleted the fscodec-union branch August 28, 2023 12:16
@bartelink bartelink changed the title feat(TypeSafeEnum): Merged impls; exposed Union feat(TypeSafeEnum): Merge impls; expose Union Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants