next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
GraphQL
1. What is the difference between code-first and schema-first approaches in NestJS GraphQL?
Level: Expert | Frequency: High
2. How do you bootstrap a NestJS GraphQL application in code-first mode?
Level: Expert | Frequency: High
3. How do you define a GraphQL object type, enum, and union in code-first NestJS?
Level: Expert | Frequency: High
4. How does NestJS schema-first approach differ in setup and when would you choose it over code-first?
Level: Expert | Frequency: High
5. What is a resolver in NestJS GraphQL and how do you define a root query resolver?
Level: Expert | Frequency: High
6. What are field resolvers in NestJS GraphQL and when do you use them instead of fetching all data in the root query?
Level: Expert | Frequency: High
7. How do you pass arguments to a GraphQL query and validate them using @Args and input types in NestJS?
Level: Expert | Frequency: High
8. How do you access the GraphQL context including the authenticated user inside a resolver in NestJS?
Level: Expert | Frequency: High
9. How do you implement and use a custom GraphQL scalar type in NestJS?
Level: Expert | Frequency: High
10. How do you define a GraphQL mutation in NestJS and what input type conventions should you follow?
Level: Expert | Frequency: High
11. What is the difference between @ObjectType() and @InputType() in NestJS GraphQL and why can't you reuse the same class for both?
Level: Expert | Frequency: High
12. How do you handle GraphQL errors and return partial results for mutations in NestJS?
Level: Expert | Frequency: High
13. What is a GraphQL subscription and how do you enable it in NestJS?
Level: Expert | Frequency: High
14. How do you implement a subscription using PubSub in NestJS GraphQL?
Level: Expert | Frequency: High
15. How do you filter subscription events so each client only receives events relevant to them in NestJS?
Level: Expert | Frequency: High
16. How do you scale GraphQL subscriptions across multiple NestJS instances?
Level: Expert | Frequency: High
17. What is the N+1 problem in GraphQL and how does DataLoader solve it?
Level: Expert | Frequency: High
18. How do you implement a DataLoader in NestJS and scope it correctly per request?
Level: Expert | Frequency: High
19. How do you make a DataLoader available in the GraphQL context so every resolver can access it in NestJS?
Level: Expert | Frequency: High
20. How do you handle DataLoader cache invalidation and avoid serving stale data in NestJS?
Level: Expert | Frequency: High
21. How do you implement cursor-based pagination in NestJS GraphQL using the Relay Connection spec?
Level: Expert | Frequency: High
22. How do you add authorization guards to GraphQL resolvers in NestJS?
Level: Expert | Frequency: High
23. How do you implement query complexity analysis to prevent expensive GraphQL queries in NestJS?
Level: Expert | Frequency: High
24. How do you test a NestJS GraphQL resolver with TestingModule?
Level: Expert | Frequency: High
25. How do you implement schema stitching or federation for a micro-frontend GraphQL architecture in NestJS?
Level: Expert | Frequency: High
All Topics
Basics
Modules
Decorators
Controllers
Dependency Injection
Providers
Architecture
Request Lifecycle
Middleware
Guards
Interceptors
Pipes
Filters
Exception Handling
API Design
GraphQL
Database and ORM
Microservices
Authentication and Authorization,
Interceptors