Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type safe enum deserialization #84

Merged

Conversation

Joelius300
Copy link
Contributor

This PR adds and tests deserialization support for both StringEnum and ObjectEnum, our two type-safe-enums. Both classes have been refactored. The equality stuff has been fixed, bugs have been eradicated and the documentation has been updated/improved. I have also added lots of tests to test both of these classes and their serialization behaviour.

This PR is necessary for #70 because there we also need deserialization whereas we previously only needed serialization.

@Joelius300 Joelius300 force-pushed the type-safe-enum-serialization branch from bbfa1a6 to 26495bf Compare March 21, 2020 14:22
@Joelius300 Joelius300 merged commit fc15ef6 into mariusmuntean:master Mar 21, 2020
@Joelius300 Joelius300 deleted the type-safe-enum-serialization branch March 21, 2020 15:04
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.

1 participant