github.com/Capventis/gqlgen@v0.7.2/example/type-system-extension/schemas/schema-extension.graphql (about)

     1  extend schema {
     2    mutation: MyMutation
     3  }
     4  
     5  extend type MyQuery {
     6    todo(id: ID!): Todo
     7  }
     8  
     9  type MyMutation {
    10    createTodo(todo: TodoInput!): Todo!
    11  }
    12  
    13  input TodoInput {
    14    text: String!
    15  }