ent icon indicating copy to clipboard operation
ent copied to clipboard

TS bug fixed that the docs were referencing

Open Swahvay opened this issue 1 year ago • 3 comments

In https://ent.dev/docs/custom-graphql/gql-object-type there is a reference to a TS bug, saying

Until this bug is fixed, custom objects need to be defined in a separate file from where they're consumed.

That bug has been fixed.

Swahvay avatar Sep 13 '23 15:09 Swahvay

Actually https://ent.dev/docs/custom-graphql/gql-input-object-type, https://ent.dev/docs/custom-graphql/gql-interface-type, and https://ent.dev/docs/custom-graphql/gql-union-type also make the same reference.

Swahvay avatar Sep 13 '23 15:09 Swahvay

will revert because still seems broken in 5.2.2: https://github.com/lolopinto/ent/compare/move-custom-types?expand=1

lolopinto avatar Sep 14 '23 04:09 lolopinto

Nuts.

Swahvay avatar Sep 15 '23 10:09 Swahvay