ent icon indicating copy to clipboard operation
ent copied to clipboard

cleanup from JSON support in TypeScript

Open lolopinto opened this issue 2 years ago • 0 comments

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

lolopinto avatar Jun 03 '22 21:06 lolopinto