-
Notifications
You must be signed in to change notification settings - Fork 4
/
graphql.config.yaml
36 lines (36 loc) · 1.09 KB
/
graphql.config.yaml
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
30
31
32
33
34
35
36
projects:
default:
schema: examples/graphql/schema.graphql
documents: examples/graphql/!(schema).graphql
extensions:
codegen:
generates:
examples/graphql/graphql.go:
hooks:
afterOneFileWrite: go fmt
plugins:
- packages/graphql-codegen-golang/dist/index.js:
generateHTTPClient: false
rickandmorty:
schema: https://rickandmortyapi.com/graphql/
documents: examples/rickandmorty/document.graphql
extensions:
codegen:
generates:
examples/rickandmorty/graphql.go:
hooks:
afterOneFileWrite: go fmt
plugins:
- packages/graphql-codegen-golang/dist/index.js:
packageName: rickandmorty
anilist:
schema: https://graphql.anilist.co
extensions:
codegen:
generates:
examples/anilist/graphql.go:
hooks:
afterOneFileWrite: go fmt
plugins:
- packages/graphql-codegen-golang/dist/index.js:
packageName: anilist