lib/trailblazer/activity/dsl/linear/variable_mapping.rb in trailblazer-activity-dsl-linear-0.1.5 vs lib/trailblazer/activity/dsl/linear/variable_mapping.rb in trailblazer-activity-dsl-linear-0.1.6
- old
+ new
@@ -66,11 +66,12 @@
def initialize(filter)
@filter = filter
end
def call(original_ctx, **circuit_options)
- Trailblazer::Context( # TODO: make this interchangeable so we can work on faster contexts?
- @filter.(original_ctx, **circuit_options)
+ Trailblazer::Context.for( # TODO: make this interchangeable so we can work on faster contexts?
+ @filter.(original_ctx, **circuit_options),
+ [original_ctx, {}], circuit_options # these options for {Context.for} are currently unused.
)
end
end
end