We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 to generate struct based on Ion Schema. This will include supporting conversion of various struct related constraints in ISL.
Following ISL constraints will be supported with struct generation:
Action Items for this implementation:
element
fields
type
The text was updated successfully, but these errors were encountered:
Mappings for ISL constraints to Rust struct:
element -> SequenceStruct(creates a struct with single field that stores the sequence as a Vec) e.g.
struct Foo { value: Vec<String> }
fields -> Struct (creates a struct with given field name and value/data type pairs) e.g.
struct Foo { name: String, id: i64 }
type -> ValueStruct (creates a struct with single field that has the data type provided with type constraint) e.g.
struct Foo { value: String }
Sorry, something went wrong.
Completed with #61 and #81
No branches or pull requests
Add support to generate struct based on Ion Schema. This will include supporting conversion of various struct related constraints in ISL.
Following ISL constraints will be supported with struct generation:
Action Items for this implementation:
element
,fields
andtype
constraints in ISL to struct in RustThe text was updated successfully, but these errors were encountered: