@@ -23,19 +23,26 @@ resolver:
2323 dir : graph
2424 package : graph
2525
26- # Optional: turn on use `gqlgen:"fieldName"` tags in your models
26+ # Optional: turn on use ` + "`" + ` gqlgen:"fieldName"` + "`" + ` tags in your models
2727# struct_tag: json
2828
2929# Optional: turn on to use []Thing instead of []*Thing
3030# omit_slice_element_pointers: false
3131
32+ # Optional: turn off to make struct-type struct fields not use pointers
33+ # e.g. type Thing struct { FieldA OtherThing } instead of { FieldA *OtherThing }
34+ # struct_fields_always_pointers: true
35+
36+ # Optional: turn off to make resolvers return values instead of pointers for structs
37+ # resolvers_always_return_pointers: true
38+
3239# Optional: set to speed up generation time by not performing a final validation pass.
3340# skip_validation: true
3441
3542# gqlgen will search for any type names in the schema in these go packages
3643# if they match it will use them, otherwise it will generate them.
3744autobind :
38- - ' github.com/authorizerdev/authorizer/server/graph/model'
45+ # - " github.com/authorizerdev/authorizer/server/graph/model"
3946
4047# This section declares type mapping between the GraphQL and go type systems
4148#
@@ -45,7 +52,6 @@ autobind:
4552models :
4653 ID :
4754 model :
48- # - github.com/99designs/gqlgen/graphql.IntID # An go integer
4955 - github.com/99designs/gqlgen/graphql.ID
5056 - github.com/99designs/gqlgen/graphql.Int
5157 - github.com/99designs/gqlgen/graphql.Int64
@@ -55,11 +61,12 @@ models:
5561 - github.com/99designs/gqlgen/graphql.Int
5662 - github.com/99designs/gqlgen/graphql.Int64
5763 - github.com/99designs/gqlgen/graphql.Int32
58- Float :
59- model :
60- - github.com/99designs/gqlgen/graphql.Float
61- - github.com/99designs/gqlgen/graphql.Float64
62- - github.com/99designs/gqlgen/graphql.Float32
6364 Int64 :
6465 model :
6566 - github.com/99designs/gqlgen/graphql.Int64
67+ Map :
68+ model :
69+ - github.com/99designs/gqlgen/graphql.Map
70+ Any :
71+ model :
72+ - github.com/99designs/gqlgen/graphql.Any
0 commit comments