You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several libraries to automate generation of rust types. We could consider using them to generate TS types for custom entry types to simplify the scaffolding logic a bit.
Thanks for bringing this up, the manual codegen we have now is not really sufficient and I don't see the need to re-invent the wheel with Rust to TS codegen. I had been looking into this for a while actually, specifically the typeshare and ts-rs crates.
The others you share look promising as well, especially specta.
The end goal for us would be finding a way to convert an EntryDefinition based off what the dev provides us via the cli into TS types using one of the crates, I couldn't find a programatic way to do this yet with the crates I tried out initially, but I can look into this further again as a spike.
There are several libraries to automate generation of rust types. We could consider using them to generate TS types for custom entry types to simplify the scaffolding logic a bit.
The text was updated successfully, but these errors were encountered: