Sha256: 7ca0fabb031c125d05869cd819f77c1cd92cbfc8a3e7c422cd656fc95194321c

Contents?: true

Size: 373 Bytes

Versions: 6

Compression:

Stored size: 373 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kanji-web-0.3.1 lib/kanji/templates/app/mutation_type.rb.tt
kanji-web-0.3.0 lib/kanji/templates/app/mutation_type.rb.tt
kanji-web-0.2.2 lib/kanji/templates/app/mutation_type.rb.tt
kanji-web-0.2.1 lib/kanji/templates/app/mutation_type.rb.tt
kanji-web-0.2.0 lib/kanji/templates/app/mutation_type.rb.tt
kanji-web-0.1.0 lib/kanji/templates/app/mutation_type.rb.tt