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 generating Enums in Java #89

Open
3 tasks
desaikd opened this issue Feb 22, 2024 · 0 comments
Open
3 tasks

Add support for generating Enums in Java #89

desaikd opened this issue Feb 22, 2024 · 0 comments

Comments

@desaikd
Copy link
Contributor

desaikd commented Feb 22, 2024

Add support to generate struct based on Ion Schema. This will include supporting conversion of various enum related constraints in ISL.

Following ISL constraints will be supported with struct generation:

  • valid_values (Java style enums for string/symbol values)

Action Items for this implementation:

  • Define templates for enums in Java
  • Define constraint mapping for valid_values in ISL to enum in Java
  • Implement code generation for read and write API for enum in Java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants