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

Relax Enum#parse. Fixes #3108 #3119

Merged
merged 1 commit into from
Aug 9, 2016
Merged

Relax Enum#parse. Fixes #3108 #3119

merged 1 commit into from
Aug 9, 2016

Conversation

asterite
Copy link
Member

@asterite asterite commented Aug 8, 2016

I think the use cases for paring a string into an enum come from scenarios where a more relaxed parsing is preferable, for example if the string comes from a JSON, CSV, or even user input, so it's better to guess the closest enum value from its name.

@asterite asterite merged commit 46303f5 into master Aug 9, 2016
@jhass jhass added this to the 0.19.0 milestone Aug 9, 2016
@asterite asterite deleted the feature/relax_enum_parse branch September 9, 2016 14:53
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.

None yet

2 participants