Sha256: 0a9b79456e6ed1bb2a0cbe393935a45fe3e84856ae26b83a1b2eae3c025a237d

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

module Giraph
  module Remote
    # Field resolver to plug a remote GraphQL mutation root into a local type
    class Mutation < Query
      def self.bind(endpoint, &block)
        new(
          endpoint,
          Remote::Connector.new(endpoint),
          &block
        )
      end

      private

      def query_type
        'mutation'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
giraph-0.1.1 lib/giraph/remote/mutation.rb