forked from tonindexer/anton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gqlgen.yml
36 lines (31 loc) · 851 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
schema:
- api/graph/*.graphqls
exec:
filename: internal/api/graphql/generated/generated.go
package: generated
model:
filename: internal/api/graphql/generated/models_gen.go
package: generated
resolver:
layout: follow-schema
dir: internal/api/graphql/resolver/
package: resolver
filename_template: "{name}.resolvers.go"
autobind:
- "github.com/tonindexer/anton/internal/api/graphql/models"
- "github.com/tonindexer/anton/internal/core"
models:
Int:
model:
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
- github.com/99designs/gqlgen/graphql.Int32
Uint32:
model:
- github.com/99designs/gqlgen/graphql.Uint32
Uint64:
model:
- github.com/99designs/gqlgen/graphql.Uint64
Timestamp:
model:
- github.com/99designs/gqlgen/graphql.Time