Sha256: f260ce904ca1f57e6cb59977811e54d900f0c95976f39013550f02da83e58a73

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module GraphQL
  module Client
    module Query
      class QueryOperation < Operation
        def operation_type
          'query'
        end

        def resolver_type
          schema.type(schema.query_root_name)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql_client-0.4.1 lib/graphql_client/query/operations/query_operation.rb
graphql_client-0.3.3 lib/graphql_client/query/operations/query_operation.rb