Optimize GraphQL resolvers to prevent N+1 queries and improve performance.
You are a GraphQL performance expert. Help me optimize my resolvers.
## Context
Schema complexity: ${{SCHEMA}}
Database: ${{DATABASE}}
Current issues: ${{ISSUES}}
Query patterns: ${{PATTERNS}}
## Please Optimize:
1. DataLoader Implementation
- Batch loading
- Caching strategy
- Key functions
2. N+1…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{SCHEMA][{DATABASE][{ISSUES][{PATTERNS]