← Back to Browse
API Integration
ResolverGen
Auto-generate type-safe GraphQL resolvers from your schema with built-in DataLoader batching.
★★★★★ 4.5
167 reviews
5.3k
installs
v2.0.1
MIT
Install
npx skilldock install resolver-gen
About
ResolverGen reads your GraphQL SDL schema and generates fully typed resolvers with automatic DataLoader integration to prevent N+1 queries. It creates CRUD operations, handles pagination, generates TypeScript types, and includes authentication middleware hooks.
Usage Example
// Generate resolvers from schema
const resolvers = await resolverGen({
schema: "./schema.graphql",
output: "./src/resolvers",
dataloader: true,
auth: true
});