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

Results 62 ion-cli issues
Sort by recently updated
recently updated
newest added

### Issue #105: ### Description of changes: This PR works on adding support for writing SExpression in code generation. ### Generates Code: - Generated code for given ISL test files...

### Issue #, if available: https://github.com/amazon-ion/ion-cli/issues/42 ### Description of changes: This PR adds options to analyze the input binary Ion data stream, allowing users to: * Get the maximum depth...

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 -...

code generation

Currently, code generation doesn't support writing SExpression instead it writes it as Ion List. This can be modified to keep track of specified ISL type from schema and write accordingly.

code generation

Suppose I have the following schema: ``` $ion_schema_2_0 type::{ name: Foo, fields: { a: { fields: { x: int, y: int } }, b: int, } } type::{ name: Bar,...

code generation

Currently variably occurring types are not fully supported in code generation. Process `occurs` field and validate while reading the data using the value of `occurs` constraint.

code generation

> If you use `Boolean` instead of `boolean`, then this could be initialized to `null`. Similarly for `int`/`Integer` and `double`/`Double`. > > However, if it's not an optional field, then...

code generation

* [ ] Enable the `LazyReader` to read from streams (in addition to byte slices) * [ ] Expose byte slice accessors for stream elements' encodings (e.g. `fn annotations(&self) ->...

Currently, code generation can generate invalid Java or Rust code for ISL types that have names using keywords of Java/Rust programming language. This is also an issue for field names...

bug
code generation

> We should not expose the constructor, if we can help it. Unless we generate overloaded constructors, using a constructor means that adding a new optional field is backwards incompatible....

code generation