forked from nhost/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgqlgenc.yaml
36 lines (34 loc) · 938 Bytes
/
gqlgenc.yaml
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
model:
filename: ./nhostclient/graphql/models_gen.go # https://github.com/99designs/gqlgen/tree/master/plugin/modelgen
client:
filename: ./nhostclient/graphql/client_gen.go
models:
Int:
model: github.com/99designs/gqlgen/graphql.Int64
bigint:
model:
- github.com/99designs/gqlgen/graphql.Int64
timestamptz:
model:
- github.com/99designs/gqlgen/graphql.Time
jsonb:
model:
- github.com/99designs/gqlgen/graphql.Map
ConfigPort:
model:
- github.com/99designs/gqlgen/graphql.Uint32
ConfigUint8:
model:
- github.com/99designs/gqlgen/graphql.Uint32
ConfigUint32:
model:
- github.com/99designs/gqlgen/graphql.Uint32
endpoint:
url: https://staging.nhost.run/v1/graphql
headers:
X-Hasura-admin-secret: "$HASURA_ADMIN_SECRET" # support environment variables
query:
- ./nhostclient/graphql/query/*.graphql
generate:
clientV2: true
omitEmptyTypes: true