ent
ent copied to clipboard
cleanup from JSON support in TypeScript
non-important cleanup from https://github.com/lolopinto/ent/pull/739:
- Share same struct across types
- collapse TSTypeWithActionFields, TSWithSubFields, TSWithSubFields all into CustomTypeInfo
- Cleanup ListWrapperType|NullableArrayListType|ArrayListType
- checkUnionType, checkFooType in generate_ts_code.go or schema.go
- JSON and JSONBType deprecated or renamed to deprecated
- Rename StructType to JSONType and JSONBType?
- ability to reference existing enums