evgen-app-front-template/codegen.yml

14 lines
331 B
YAML

overwrite: true
schema: "http://localhost:8000/graphql/"
documents: "./regSchema.graphql"
generates:
src/generated/graphql.tsx:
plugins:
- 'typescript'
- 'typescript-react-apollo'
- 'typescript-operations'
config:
preResolveTypes: true
./graphql.schema.json:
plugins:
- "introspection"