-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
27 lines (27 loc) · 717 Bytes
/
codegen.yml
File metadata and controls
27 lines (27 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
overwrite: true
schema: [ "src/graphql/schema.graphql", "src/graphql/local-schema.ts" ]
documents: "src/graphql/operations.graphql"
generates:
src/generated/graphql-request.ts:
plugins:
- typescript
- typescript-operations
- typescript-graphql-request
src/generated/apollo-helpers.ts:
plugins:
- "typescript-apollo-client-helpers"
src/generated/apollo.tsx:
plugins:
- "typescript"
- "typescript-operations"
- "typescript-react-apollo"
config:
"dedupeOperationSuffix": true
./graphql.schema.json:
plugins:
- "introspection"
src/graphql/fragmentTypes.ts:
plugins:
- fragment-matcher
config:
useExplicitTyping: true