-
Notifications
You must be signed in to change notification settings - Fork 0
/
gqlgen.yml
39 lines (34 loc) · 878 Bytes
/
gqlgen.yml
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
37
38
39
schema:
- controller/graph/*.graphqls
- controller/graph/schema/*.gql
exec:
filename: controller/graph/generated/generated.go
package: generated
model:
filename: controller/graph/model/models_gen.go
package: model
resolver:
filename: controller/graph/resolver/resolver.go
type: Resolver
autobind:
# - "github.com/arvians-id/go-graphql/controller/graph/model"
models:
ID:
model:
- github.com/99designs/gqlgen/graphql.ID
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
- github.com/99designs/gqlgen/graphql.Int32
Int:
model:
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
- github.com/99designs/gqlgen/graphql.Int32
User:
fields:
posts:
resolver: true
Post:
fields:
user:
resolver: true