Khushboo

Results 50 issues of Khushboo

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

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

Currently, `code-gen-projects` contains a sample gradle and cargo project which are used for code generation roundtrip integration testing. Add a new README explaining code generation usage and information on examples.

code generation

Currently `struct.templ` has if statements that help render a Rust `struct` based on `AbstractDataType` value. Instead generate different modules for ease of code maintenance and reviewer's readability.

code generation

In the generated code add a property like `open_content_fields` that can be sued to store open content key-value pairs information.

code generation

Current `schema` subcommand options are not consistent with the help message provided with them. Change the help message and option naming accordingly. Also, add a schema subcommand output example in...

enhancement

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

Related conversations: > There's a point in the code gen method where we should go from `Option` to `DataModel`. This error should happen there, and all methods downstream of that...

code generation