ion-cli icon indicating copy to clipboard operation
ion-cli copied to clipboard

Add support for generating Enums in Java

Open desaikd opened this issue 1 year ago • 0 comments

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

desaikd avatar Feb 22 '24 19:02 desaikd