Change gqlgen filename_template from {name}.resolvers.go to
{name}_resolvers.go across all three APIs for consistent Go naming.
Signed-off-by: Émile Ré <emile@getprobo.com>
44 lines
913 B
YAML
44 lines
913 B
YAML
schema:
|
|
- "graphql/*.graphql"
|
|
|
|
exec:
|
|
filename: "schema/schema.go"
|
|
package: "schema"
|
|
|
|
model:
|
|
filename: "types/types.go"
|
|
package: "types"
|
|
|
|
resolver:
|
|
layout: "follow-schema"
|
|
dir: "."
|
|
package: "console_v1"
|
|
filename_template: "{name}_resolvers.go"
|
|
|
|
autobind: []
|
|
call_argument_directives_with_null: true
|
|
|
|
directives:
|
|
mustBeAuthorized:
|
|
skip_runtime: false
|
|
|
|
models:
|
|
ID:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/gid.GIDScalar"
|
|
Datetime:
|
|
model:
|
|
- "github.com/99designs/gqlgen/graphql.Time"
|
|
CursorKey:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/cursor.CursorKeyScalar"
|
|
Duration:
|
|
model:
|
|
- "github.com/99designs/gqlgen/graphql.Duration"
|
|
BigInt:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/bigint.BigIntScalar"
|
|
EmailAddr:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/mail.AddrScalar"
|