Improving Typescript experience in Rails by generating a Typescript schema from Rails
Improved on schema2type with associations and enums. Delivered as a simple Gist script to run in your app and built upon the enhance your Typescript developer experience.
Post/Explaination: https://www.stefanwienert.de/blog/2021/09/15/generate-typescript-schema-from-rails-models-with-enums-and-associations/
Gist: https://gist.github.com/zealot128/419949f1c426330493c84bb8eadc4533
Post a comment