lib/trailblazer/operation/public_call.rb in trailblazer-operation-0.7.5 vs lib/trailblazer/operation/public_call.rb in trailblazer-operation-0.8.0.beta1
- old
+ new
@@ -80,10 +80,10 @@
raise "[Trailblazer] `Operation.call_with_flow_options is deprecated in Ruby 3.0. Use `Operation.(options, flow_options)`" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0.0")
call_with_public_interface(options, flow_options, {invoke_class: Activity::TaskWrap})
end
def initial_wrap_static(*)
- Activity::TaskWrap::Pipeline.new([["task_wrap.call_task", method(:call_task)]])
+ Activity::TaskWrap::Pipeline.new([Activity::TaskWrap::Pipeline.Row("task_wrap.call_task", method(:call_task))])
end
def call_task(wrap_ctx, original_args) # DISCUSS: copied from {TaskWrap.call_task}.
op = wrap_ctx[:task]