Sha256: 8f25841ff4446a7db2525ded6b7b2afe0551c5e063bdd1a547e21955dc7027eb

Contents?: true

Size: 279 Bytes

Versions: 6

Compression:

Stored size: 279 Bytes

Contents

require "graphql"

class QueryType
  def call
    GraphQL::ObjectType.define do
      name "Query"
      description "The query root of this schema"

      # Add your root queries here. This object type will be invalid until
      # you add at least one 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/query_type.rb.tt
kanji-web-0.3.0 lib/kanji/templates/app/query_type.rb.tt
kanji-web-0.2.2 lib/kanji/templates/app/query_type.rb.tt
kanji-web-0.2.1 lib/kanji/templates/app/query_type.rb.tt
kanji-web-0.2.0 lib/kanji/templates/app/query_type.rb.tt
kanji-web-0.1.0 lib/kanji/templates/app/query_type.rb.tt