Skip to content

Avoiding stringified types #10

Answered by nitsky
bestouff asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bestouff thank you for opening the first discussion!

You absolutely can provide strong input types with the tangram library for rust. Check out languages/rust/examples/advanced/main.rs for an example. I am working on adding strong output types now as well, this will be available in the next release. In the future, we will also consider adding some code generation to automatically generate the type definitions from the model file. Let me know if there is anything else you are looking for!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bestouff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants