#Prevent column overfetching

2 messages · Page 1 of 1 (latest)

scenic ravine
#

So typeorm find will fetch all columns defined in the entity. So does anyone have a strategy or tool to extract field/relations from the GraphQLResolverInfo to minimize the resulting sql query?
And is it even worth the effort?

stray marsh
#

If you want database crud over GraphQL, look at Hasura. Otherwise there's no built in solution as far as I know.