services/explorer/consumer/client/gqlgen.yaml
# Where are all the schema files located? globs are supported eg src/**/*.graphqls
schema:
- schema/*.graphql
# Where should the generated server code go?
exec:
filename: resolver-client/server.go
package: resolvers
model:
filename: model/models_gen.go
package: model
# Where should the resolver implementations go?
resolver:
layout: follow-schema
package: resolver
struct_tag: json
autobind:
- 'github.com/synapsecns/sanguine/services/explorer/consumer/client/model'
models:
JSON:
model: github.com/synapsecns/sanguine/services/scribe/graphql/server/types.JSON
ID:
model:
- github.com/99designs/gqlgen/graphql.ID
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
- github.com/99designs/gqlgen/graphql.Int32
Int:
model:
- github.com/99designs/gqlgen/graphql.Int
- github.com/99designs/gqlgen/graphql.Int64
- github.com/99designs/gqlgen/graphql.Int32