Sha256: 8a09f41e6bdb69f1e28819cfdccac976e05f65f8bdb0250244723bde282533b4
Contents?: true
Size: 1.81 KB
Versions: 3
Compression:
Stored size: 1.81 KB
Contents
module Ecoportal module API class GraphQL module Mutation module LocationStructure class ApplyCommands < Ecoportal::API::GraphQL::Logic::Mutation field_name :applyCommandsToLocationStructure class_resolver :payload_class, Ecoportal::API::GraphQL::Payload::LocationStructure::ApplyCommands class_resolver :input_class, Ecoportal::API::GraphQL::Input::LocationStructure::ApplyCommands private def basic_block(&block) payload_block = block || default_payload_block proc { mutation(input: :ApplyCommandsToLocationStructureInput!) { applyCommandsToLocationStructure(input: :input, &payload_block) } } end def default_payload_block proc { clientMutationId error { message conflictingIds validationErrors { error message } } results { command { id state __typename } ok error { conflictingIds message validationErrors { error message } } } structure { nodes(includeArchived: true) { ___Ecoportal__API__GraphQL__Fragment__LocationNode } } } end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems