graphql_generate_schema
Generate GraphQL type definitions and schema from data models. Provide model names and relationships to create complete types, including mutation inputs.
Instructions
Generate GraphQL type definitions and schema from data models
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | List of model names to generate types for (e.g. 'User', 'Post') | |
| api_key | No | API key for authentication | |
| relationships | No | Relationships between models (e.g. 'User hasMany Post') | |
| include_inputs | No | Whether to generate input types for mutations |