graphql-prisma-typescript icon indicating copy to clipboard operation
graphql-prisma-typescript copied to clipboard

A question on the resolver usage of `parent`

Open chanlito opened this issue 7 years ago • 2 comments

Using the following snippet as example, I know that numRatings implementation is necessary, but isn't the rest a little bit overkill?

Do we really need to assign each field of the parent?

screen shot 2018-10-11 at 1 56 14 pm

chanlito avatar Oct 11 '18 07:10 chanlito

Yes, you're totally right @chanlito. We'll update this soon with the latest version of graphqlgen.

schickling avatar Oct 15 '18 19:10 schickling

@schickling Do you know when the project will be updated to graphqlgen ?

sapkra avatar Oct 20 '18 12:10 sapkra