amazon-ion / ion-cli

Apache License 2.0
35 stars 15 forks source link

Adds new model changes for scalar #143

Closed desaikd closed 2 months ago

desaikd commented 2 months ago

Issue #, if available:

Description of changes:

This PR works on adding new model changes following up on #135. This Pr only contains changes for Structure (does not contains changes for model variants Sequence and Scalar). This PR disables Rust support until the entire functionality for the new model change is supported and uses feature branch new-model-changes as target.

List of changes:

Generated code:

The generated code still stays the same only the template changes to use the new model. (Only added scalar files for checking this change, other files remain same)

Generated Java code can be found here.

Tests:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.