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

Make Enum value_methods optional #5255

Merged
merged 2 commits into from
Feb 28, 2025
Merged

Conversation

rmosolgo
Copy link
Owner

To opt in, add

  value_methods(true)

To your base enum class. Fixes #5254

@rmosolgo rmosolgo added this to the 2.4.11 milestone Feb 27, 2025
@rmosolgo rmosolgo merged commit 2ad2f83 into master Feb 28, 2025
13 of 14 checks passed
@rmosolgo rmosolgo deleted the enum-value-methods-optional branch February 28, 2025 11:11
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.

Enum value accessors should be opt-in
1 participant