lib/rails/graphql/request/steps/prepareable.rb
# The actual process that prepare the object
The actual process that prepare the object
The actual process that prepare the object
def prepare_then(after_block = nil, &block)
            return if invalid?
            stacked do
              block.call if block.present?
              trigger_event(:prepared)
              after_block.call if after_block.present?
            end
          end
def prepare_then ( after_block = nil , & block ) return if invalid? stacked do block . call if block . present? trigger_event ( :prepared ) after_block . call if after_block . present? end end
The actual process that prepare the object
The actual process that prepare the object
after_block
block