lib/generators/templates/ts_schema.rb in ts_schema-0.1.14 vs lib/generators/templates/ts_schema.rb in ts_schema-0.2.1

- old
+ new

@@ -78,9 +78,17 @@ # config.field_overrides: { # encrypted_password: :password, # password: :optional, # } + # Override types for fields by field name. This is globally applied. + # Useful for polymorphic associations which would otherwise be of type string, e.g.: + # commentable_type: "'Product'|'Review'" + + # config.field_type_overrides: { + + # } + # Namespace for generated types # # config.namespace = :schema