-
Notifications
You must be signed in to change notification settings - Fork 0
/
gqlgen.yml
97 lines (81 loc) · 1.55 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
schema:
- graphql/*.graphql
exec:
filename: graphql/generated/generated.go
package: generated
model:
filename: graphql/model/models_gen.go
package: model
resolver:
layout: follow-schema
dir: graphql
package: graphql
filename_template: resolvers.go
autobind:
- "github.com/osm/go-stack/graphql/model"
models:
ID:
model: github.com/99designs/gqlgen/graphql.ID
Int:
model: github.com/99designs/gqlgen/graphql.Int64
ResetPasswordMutation:
fields:
initiate:
resolver: true
confirm:
resolver: true
User:
fields:
todo:
resolver: true
todos:
resolver: true
UsersMutation:
fields:
create:
resolver: true
UserMutation:
model: model.UserMutation
fields:
update:
resolver: true
delete:
resolver: true
changePassword:
resolver: true
todos:
resolver: true
todo:
resolver: true
Todo:
fields:
files:
resolver: true
TodosMutation:
model: model.TodosMutation
fields:
create:
resolver: true
TodoMutation:
model: model.TodoMutation
fields:
update:
resolver: true
delete:
resolver: true
file:
resolver: true
files:
resolver: true
TodoFilesMutation:
model: model.TodoFilesMutation
fields:
create:
resolver: true
TodoFileMutation:
model: model.TodoFileMutation
fields:
delete:
resolver: true
TodoFile:
model: model.TodoFile