github.com/jepp2078/gqlgen@v0.7.2/example/scalars/schema.graphql (about)

     1  type Query {
     2      user(id: ID!): User
     3      search(input: SearchArgs = {location: "37,144", isBanned: false}): [User!]!
     4  }
     5  
     6  type User {
     7      id: ID!
     8      name: String!
     9      created: Timestamp
    10      isBanned: Boolean!
    11      primitiveResolver: String!
    12      customResolver: Point!
    13      address: Address
    14      tier: Tier
    15  }
    16  
    17  type Address {
    18      id: ID!
    19      location: Point
    20  }
    21  
    22  input SearchArgs {
    23      location: Point
    24      createdAfter: Timestamp
    25      isBanned: Boolean
    26  }
    27  
    28  enum Tier {
    29      A
    30      B
    31      C
    32  }
    33  
    34  scalar Timestamp
    35  scalar Point