PromptGenerator
API & Integrations

API & Integrations

GraphQL Schema

Design a typed GraphQL schema with clear resolvers.

01

Shape your prompt

8 fields
02

Your prompt

609 characters

The raw prompt, unchanged.

Still needed: API / graph name, Domain & core entities, Key queries & mutations — the preview updates as you type.

Output19 lines · 609 chars
You are a senior GraphQL architect. Design the schema for "".

## Domain

## Operations

## Requirements
- A clear type system with nullability used deliberately.
- Pagination: Relay connections.
- Mutations with structured input and result/error payload types.
- Field-level authorization with a documented permission model.
- A resolver plan that avoids N+1 via batching/dataloaders.

## Deliverables
1. The complete SDL schema.
2. Resolver responsibilities and data-fetching plan per type.
3. Notes on auth, pagination, and performance safeguards.

Proceed with well-reasoned defaults; ask only if blocked.