Explore Library
Flashcard

Code-First Schema Generation & N+1

How NestJS builds a GraphQL schema from decorators and how to avoid resolver performance pitfalls.

Question

In code-first GraphQL, how is the schema built and what causes the N+1 problem in @ResolveField resolvers?

Click to reveal answer