Skip to content

Commit

Permalink
no need to pass :exec_context in #call_with_public_interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Nov 25, 2023
1 parent ffbe10b commit 5de3a1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/trailblazer/operation/public_call.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def call_with_public_interface(options, flow_options, invoke_class: Activity::Ta
signal, (ctx, flow_options) = invoke_class.invoke(
self,
[ctx, flow_options],
exec_context: new, # FIXME: this is overridden anyway in Activity
# wrap_static: initial_wrap_static,
container_activity: Activity::TaskWrap.container_activity_for(self, wrap_static: initial_wrap_static) # we cannot make this static because of {self} unless we override {#inherited}.
)

Expand Down

0 comments on commit 5de3a1b

Please sign in to comment.