-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
25 lines (25 loc) · 732 Bytes
/
codegen.yml
File metadata and controls
25 lines (25 loc) · 732 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
schema: src/graphql/schema/schema.graphql
generates:
## file result
src/graphql/types/generated-graphql-types.ts:
plugins:
- typescript
- typescript-resolvers
- typescript-operations
config:
scalars:
ID: any
contextType: ./graphql#GraphQLContext
enumValues:
RoleCodes: '@constants/enum#RoleCodes'
# src/__test__/graphql/sdk.ts:
# schema: src/graphql/schema/schema.graphql
# documents: 'src/__test__/graphql/**/*.graphql'
# plugins:
# - 'typescript'
# - 'typescript-operations'
# - 'typescript-graphql-request'
# config:
# useTypeImports: true
# omitOperationSuffix: true
# namingConvention: pascal-case#pascalCase