github.com/operandinc/gqlgen@v0.16.1/codegen/testserver/singlefile/wrapped_type.graphql (about)

     1  # regression test for https://github.com/operandinc/gqlgen/issues/721
     2  
     3  extend type Query {
     4      wrappedStruct: WrappedStruct!
     5      wrappedScalar: WrappedScalar!
     6      wrappedMap: WrappedMap!
     7      wrappedSlice: WrappedSlice!
     8  }
     9  
    10  type WrappedStruct {
    11      name: WrappedScalar!
    12      desc: WrappedScalar
    13  }
    14  scalar WrappedScalar
    15  type WrappedMap {
    16      get(key: String!): String!
    17  }
    18  type WrappedSlice {
    19      get(idx: Int!): String!
    20  }