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

Add support for optional and repeated fields in generated code

Open desaikd opened this issue 1 year ago • 1 comments

Currently generator stores all the fields as required but based on ISL these fields could be optional as well as can be repeated.

Optional/Required Fields:

  • [ ] Rust
  • [X] Java

Occurs with range or more than 1 occurrence value:

  • [ ] Rust
  • [X] Java

desaikd avatar Apr 23 '24 21:04 desaikd

Optional fields are supported as wrapper primitive classes in Java. Support for optional fields is still pending in Rust.

desaikd avatar Oct 16 '24 17:10 desaikd