Skip to content

Make Enum value_methods optional#5255

Merged
rmosolgo merged 2 commits intomasterfrom
enum-value-methods-optional
Feb 28, 2025
Merged

Make Enum value_methods optional#5255
rmosolgo merged 2 commits intomasterfrom
enum-value-methods-optional

Conversation

@rmosolgo
Copy link
Copy Markdown
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