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 optional and repeated fields in generated code #106

Open
2 of 4 tasks
desaikd opened this issue Apr 23, 2024 · 1 comment
Open
2 of 4 tasks

Add support for optional and repeated fields in generated code #106

desaikd opened this issue Apr 23, 2024 · 1 comment
Labels
code generation Improvements for code generation subcommand `generate`

Comments

@desaikd
Copy link
Contributor

desaikd commented Apr 23, 2024

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
  • Java

Occurs with range or more than 1 occurrence value:

  • Rust
  • Java
@desaikd
Copy link
Contributor Author

desaikd commented Oct 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code generation Improvements for code generation subcommand `generate`
Projects
Status: No status
Development

No branches or pull requests

1 participant