evestera / json_typegen

Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
https://typegen.vestera.as
Apache License 2.0
268 stars 26 forks source link

Type alias on preexisting type #18

Closed AloeareV closed 3 years ago

AloeareV commented 4 years ago

For my use-case, I need to be able to, on receiving an already existing type, create a type alias.

I've implemented it locally, and I'm going to open a PR. I'm not sure if this is functionality you want, and it's likely not up to the quality standards of the rest of the crate, but perhaps it works as a basis.