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

Add support for using traits in enums #301

Merged
merged 1 commit into from
Dec 4, 2022

Conversation

mvriel
Copy link
Member

@mvriel mvriel commented Dec 4, 2022

Although the basic architecture is present in the Enum type, the TraitUse strategy validates that only a class or other trait could have a trait. I have expanded the validation to include enums.

Although the basic architecture is present in the Enum type, the
TraitUse strategy validates that only a class or other trait could have
a trait. I have expanded the validation to include enums.
@mvriel mvriel requested a review from jaapio December 4, 2022 08:22
@jaapio jaapio merged commit 8ccd850 into 5.x Dec 4, 2022
@mvriel mvriel deleted the feature/add-support-for-using-traits-in-enums branch December 4, 2022 10:18
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.

None yet

2 participants