RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in