-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgqlgen.yml
40 lines (39 loc) · 861 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
# .gqlgen.yml example
#
# Refer to https://gqlgen.com/config/
# for detailed .gqlgen.yml documentation.
schema:
- "*.graphql"
exec:
filename: generated.go
model:
filename: models_gen.go
resolver:
layout: follow-schema
package: graphql
dir: .
models:
Book:
model: github.com/icco/graphql.Book
Comment:
model: github.com/icco/graphql.Comment
Duration:
model: github.com/icco/graphql.Duration
Geo:
model: github.com/icco/graphql.Geo
Link:
model: github.com/icco/graphql.Link
Log:
model: github.com/icco/graphql.Log
Photo:
model: github.com/icco/graphql.Photo
Post:
model: github.com/icco/graphql.Post
Tweet:
model: github.com/icco/graphql.Tweet
TwitterURL:
model: github.com/icco/graphql.TwitterURL
User:
model: github.com/icco/graphql.User
URI:
model: github.com/icco/graphql.URI