github.com/r0busta/go-shopify-graphql-model@v0.0.4/gqlgen.yml (about)

     1  # Where are all the schema files located? globs are supported eg  src/**/*.graphql
     2  schema:
     3    - schema.graphql
     4  
     5  # Where should any generated models go?
     6  model:
     7    filename: graph/model/models_gen.go
     8    package: model
     9  
    10  # This section declares type mapping between the GraphQL and go type systems
    11  #
    12  # The first line in each type will be used as defaults for resolver arguments and
    13  # modelgen, the others will be allowed when binding to fields. Configure them to
    14  # your liking
    15  # models:
    16  #   ID:
    17  #     model:
    18  #       - github.com/99designs/gqlgen/graphql.ID
    19  #       - github.com/99designs/gqlgen/graphql.Int
    20  #       - github.com/99designs/gqlgen/graphql.Int64
    21  #       - github.com/99designs/gqlgen/graphql.Int32
    22  #   Int:
    23  #     model:
    24  #       - github.com/99designs/gqlgen/graphql.Int
    25  #       - github.com/99designs/gqlgen/graphql.Int64
    26  #       - github.com/99designs/gqlgen/graphql.Int32