Sha256: c76782c7902f37e8aec96733c7de4620f49cf478174202b52cc77eb967e937b6
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
## [0.1.2](https://github.com/ElMassimo/types_from_serializers/compare/types_from_serializers@0.1.1...types_from_serializers@0.1.2) (2022-07-12) ### Bug Fixes * avoid having the full file path in the cache key ([556f8f6](https://github.com/ElMassimo/types_from_serializers/commit/556f8f667608fa950a3ad0647540055b1b5f1dc8)) ## [0.1.1](https://github.com/ElMassimo/types_from_serializers/compare/types_from_serializers@0.1.0...types_from_serializers@0.1.1) (2022-07-12) # 0.1.0 (2022-07-12) ### Features - Start simple, no additional syntax required - Infers types from a related `ActiveRecord` model, using the SQL schema - Understands JS native types and how to map SQL columns: `string`, `boolean`, etc - Automatically types [associations](https://github.com/ElMassimo/oj_serializers#associations-dsl-), importing the generated types for the referenced serializers - Detects [conditional attributes](https://github.com/ElMassimo/oj_serializers#rendering-an-attribute-conditionally) and marks them as optional: `name?: string` - Fallback to a custom interface using `type_from` - Supports custom types and automatically adds the necessary imports - handle non-ActiveRecord models and extract types from unions ([ea9b2a7](https://github.com/ElMassimo/types_from_serializers/commit/ea9b2a71cb85503ff691e5ef115ab73f89b005af)) - support specifying base serializers and additional dirs to scan ([164cfe1](https://github.com/ElMassimo/types_from_serializers/commit/164cfe17bb0527c59cf95441381aef7bf797a568))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
types_from_serializers-0.1.2 | CHANGELOG.md |