metaforecast/codegen.yml
2022-04-19 01:15:09 +03:00

16 lines
507 B
YAML

schema:
- src/graphql/build-schema.js
# This should be updated to match your client files
# documents: 'client/**/!(*.d).{ts,tsx}'
generates:
# This will take your schema and print an SDL schema.
schema.graphql:
plugins:
- schema-ast
# This will contain the generated apollo hooks and schema types needed to make type-safe queries with the apollo client
# __generated__/operations.ts:
# plugins:
# - typescript
# - typescript-operations
# - typescript-react-apollo