schema: - gql/*.gql exec: filename: generated/generated.go package: generated model: filename: models/models_gen.go package: models resolver: layout: follow-schema dir: resolvers package: resolvers autobind: - "git.farahty.com/nimer/go-mongo/models" # This section declares type mapping between the GraphQL and go type systems # # The first line in each type will be used as defaults for resolver arguments and # modelgen, the others will be allowed when binding to fields. Configure them to # your liking models: ID: model: - git.farahty.com/nimer/go-mongo/app.ObjectID - github.com/99designs/gqlgen/graphql.ID Int: model: - github.com/99designs/gqlgen/graphql.Int - github.com/99designs/gqlgen/graphql.Int64 - github.com/99designs/gqlgen/graphql.Int32