Skip to content

Solution for construct enum from inherited enum with incompatible value #97

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

Merged

Conversation

KartaviK
Copy link
Contributor

@KartaviK KartaviK commented Aug 12, 2019

Solution for #95

But the main principle for building architecture with enum is do not change based constants for inherited enum

@mnapoli
Copy link
Member

mnapoli commented Aug 12, 2019

Oh that's really clever and simple, I love it!

I'm going to leave this open for a little while to let time for others to review, but that looks good to me.

@mnapoli mnapoli merged commit 45f01ad into myclabs:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants