github.com/maeglindeveloper/gqlgen@v0.13.1-0.20210413081235-57808b12a0a0/example/config/schema.graphql (about)

     1  directive @goModel(model: String, models: [String!]) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION
     2  directive @goField(forceResolver: Boolean, name: String) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
     3  
     4  type Query {
     5    todos: [Todo!]!
     6  }
     7  
     8  type Mutation {
     9    createTodo(input: NewTodo!): Todo!
    10  }