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

Requires enum to implement FromStr #39

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

yukinarit
Copy link
Collaborator

Breaking change for enums!!

econf used to automatically generate string-to-enum conversions. However, this makes it less flexible when it comes to providing custom deserialization. Instead, relying on the FromStr trait offers more flexibility, especially when using a crate like strum.

econf used to automatically generate string-to-enum conversions.
However, this makes it less flexible when it comes to providing
custom deserialization. Instead, relying on the FromStr trait
offers more flexibility, especially when using a crate like strum.
@yukinarit yukinarit marked this pull request as ready for review September 10, 2024 12:59
Copy link
Owner

@YushiOMOTE YushiOMOTE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

エンジニアを褒めるネコ:神

@YushiOMOTE YushiOMOTE merged commit 43b3f19 into master Sep 13, 2024
2 checks passed
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.

3 participants