types_from_serializers icon indicating copy to clipboard operation
types_from_serializers copied to clipboard

✅ Generate TypeScript interfaces from your JSON serializers

Results 5 types_from_serializers issues
Sort by recently updated
recently updated
newest added

### Description 📖 This adds support for enums in Rails. Defined enums will be converted to a union type with its allowed values. ### Background 📜 Rails enums are currently...

Howdy! Given this serializer (in a single file, verbatim): ```ruby class FooSerializer < BaseSerializer class BarSerializer < BaseSerializer attributes :id end belongs_to :bar, serializer: BarSerializer end ``` The generated TS...

bug
enhancement

[troubleshooting section]: https://types-from-serializers.netlify.app/faqs/ - [X] I have tried upgrading by running `bundle update types_from_serializers`. - [X] I have read the __[troubleshooting section]__ before opening an issue. ### Description 📖 When...

### Description 📖 Support Active Model Serializer ### Background 📜 This gem have a big potencial to be the like the rack for translating types from ruby serializer to TypeScript....

### Description 📖 Add support for generating TypeScript interfaces with `null` types for optional attributes. ### Background 📜 `null` types are generally more common for APIs because JSON does not...