forked from apollo-elements/apollo-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.graphqlrc.yml
More file actions
29 lines (26 loc) · 744 Bytes
/
.graphqlrc.yml
File metadata and controls
29 lines (26 loc) · 744 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
28
29
schema: null
extensions:
codegen:
config:
constEnums: true
declarationKind: interface
dedupeOperationSuffix: true
immutableTypes: true
namingConvention: keep
noSchemaStitching: true
operationResultSuffix: Data
documentVariableSuffix: ''
optionalResolveType: true
useIndexSignature: true
generates:
test/schema.ts:
schema: test/graphql/test.schema.graphql
plugins:
- typescript
- typescript-operations
- typed-document-node
documents:
- test/graphql/*.query.graphql
- test/graphql/*.mutation.graphql
- test/graphql/*.subscription.graphql
- test/graphql/*.fragment.graphql