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

Allow custom getter/setter on scoped enum #699

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

AmaiKinono
Copy link
Contributor

@AmaiKinono AmaiKinono commented Oct 11, 2024

Close #693.

Edit: During experiment, I found that even for plain enums, we can have both default and custom getter/setter in one data model. So I pushed a second commit to allow custom getter/setter for all enums.

@mikke89 mikke89 added enhancement New feature or request data binding labels Oct 12, 2024
@mikke89 mikke89 merged commit 02494ca into mikke89:master Oct 12, 2024
32 checks passed
@mikke89
Copy link
Owner

mikke89 commented Oct 12, 2024

Great stuff, and solid testing too! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data binding enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow custom getter/setter for enum classes?
2 participants