-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenqlient.yaml
34 lines (34 loc) · 1.12 KB
/
genqlient.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
# Default genqlient config; for full documentation see:
# https://github.com/Khan/genqlient/blob/main/docs/genqlient.yaml
schema: docs/schema.graphql
operations:
- docs/genqlient.graphql
#- sv/*.go
generated: sv/github_queries_gen.go
package: sv
optional: pointer
client_getter: "github.com/vballestra/sv/sv/gh_utils.GetGraphQLClient"
bindings:
# To bind a scalar:
DateTime:
# The fully-qualified name of the Go type to which to bind. For example:
# time.Time
# map[string]interface{}
# github.com/you/yourpkg/subpkg.MyType
# Specifically, this can be any of the following expressions:
# - any named type (qualified by the full package path)
# - any predeclared basic type (string, int, etc.)
# - interface{}
# - for any allowed type T, *T, []T, [N]T, and map[string]T
# but can't be, for example:
# - an inline (unnamed) struct or interface type
# - a map whose key-type is not string
# - a nonstandard way of spelling those, (interface {/* hi */},
# map[ string ]T)
type: time.Time
HTML:
type: string
URI:
type: string
GitObjectID:
type: string