dphaener/kanji

View on GitHub
lib/kanji/templates/app/mutation_type.rb.tt

Summary

Maintainability
Test Coverage
require "graphql"

class MutationType
  def call
    GraphQL::ObjectType.define do
      name "MutationType"
      description "The mutation root of this schema"

      # Add your mutation fields here. Any fields generated by the CLI will
      # be automatically to the bottom of the file. This object type will
      # be invalid until you add a field.
    end
  end
end