-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgqlgen.yml
40 lines (31 loc) · 859 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
40
schema:
- gql/schema/**/*.graphql
exec:
filename: gql/generated/generated.go
package: generated
model:
filename: gql/model/models_gen.go
package: model
resolver:
filename: ./gql/resolvers/resolver.go
dir: gql/resolvers
package: resolvers
filename_template: "{name}.resolvers.go"
autobind:
- "github.com/japiirainen/go-oluet-api/gql/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
Float:
model:
- github.com/99designs/gqlgen/graphql.Float
omit_slice_element_pointers: true