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

Improve enum generation #990

Merged
merged 4 commits into from
Jun 2, 2024
Merged

Improve enum generation #990

merged 4 commits into from
Jun 2, 2024

Conversation

markstory
Copy link
Member

For mapped enums that don't support label() we should not generate a label method call, and expand test coverage.

Fixes #989

markstory added 3 commits May 31, 2024 23:53
For mapped enums that don't support label() we should not generate
a label method call, and expand test coverage.

Fixes #989
@markstory markstory added this to the 3.x (CakePHP 5) milestone Jun 1, 2024
@dereuromark dereuromark merged commit b8f25d0 into 3.x Jun 2, 2024
6 checks passed
@dereuromark dereuromark deleted the fix-enum-gen branch June 2, 2024 06:17
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.

Bake incorrectly uses enum->label() in view templates
2 participants