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

More Cases #1

Open
timrijckaert opened this issue Oct 27, 2019 · 1 comment
Open

More Cases #1

timrijckaert opened this issue Oct 27, 2019 · 1 comment

Comments

@timrijckaert
Copy link

timrijckaert commented Oct 27, 2019

Hi,

Nice job.
I was wondering how difficult it would be to extend the generator to generate more than 9 cases.
Could we get rid of the dependency on the upstream sealed_unions?

Thanks in advance.

@nodinosaur
Copy link

nodinosaur commented Oct 28, 2019

Hi,
If you would like to generate more than 9 cases, then I would suggest that you review your State/Model.
This is an interesting post on how you might do this Sealed classes opened my mind

However, Sealed Unions is a one-to-one port of JavaSealedUnions and reviewing the readme there might help answer some questions.

However, the idea of generating all the classes behind a Union is an interesting one 👍

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

No branches or pull requests

2 participants