github.com/99designs/gqlgen@v0.17.45/codegen/testserver/singlefile/maps.graphql (about)

     1  extend type Query {
     2      mapStringInterface(in: MapStringInterfaceInput): MapStringInterfaceType
     3      mapNestedStringInterface(in: NestedMapInput): MapStringInterfaceType
     4  }
     5  
     6  type MapStringInterfaceType @goModel(model: "map[string]interface{}") {
     7      a: String
     8      b: Int
     9      c: CustomScalar
    10      nested: MapNested
    11  }
    12  
    13  type MapNested @goModel(model: "singlefile.MapNested") {
    14      value: CustomScalar!
    15  }
    16  
    17  input MapStringInterfaceInput @goModel(model: "map[string]interface{}") {
    18      a: String!
    19      b: Int
    20      c: CustomScalar
    21      nested: MapNestedInput
    22  }
    23  
    24  input MapNestedInput @goModel(model: "singlefile.MapNested") {
    25      value: CustomScalar!
    26  }
    27  
    28  scalar CustomScalar @goModel(model: "singlefile.CustomScalar")
    29  
    30  input NestedMapInput {
    31      map: MapStringInterfaceInput
    32  }