-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgqlgen.yaml
More file actions
60 lines (45 loc) · 1.16 KB
/
Copy pathgqlgen.yaml
File metadata and controls
60 lines (45 loc) · 1.16 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
schema:
- graph/schema.graphql
- graph/todos/todos.graphql
- graph/users/users.graphql
exec:
package: generated
layout: follow-schema
dir: graph/generated
filename_template: generated.go
model:
package: model
filename: graph/model/models_gen.go
resolver:
package: resolver
layout: follow-schema
dir: graph/resolver
filename_template: "{name}_resolvers.go"
preserve_resolver: true
struct_tag: json
omit_slice_element_pointers: true
autobind:
- gql-mongo-todos-sample/graph/users
- gql-mongo-todos-sample/graph/todos
skip_mod_tidy: true
skip_validation: false
resolvers_always_return_pointers: false
struct_fields_always_pointers: false
omit_resolver_fields: true
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.Int32
Int64:
model:
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
Time:
model:
- github.com/99designs/gqlgen/graphql.String