Skip to content

Commit

Permalink
return Schema instance from Compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Sep 10, 2024
1 parent 74d5064 commit a3e8605
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/trailblazer/activity/dsl/linear/sequence/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,9 @@ def call(sequence, find_stops: Compiler.method(:find_termini), find_start: metho

config = Activity::Schema::Intermediate::Compiler::DEFAULT_CONFIG

return circuit,
activity_outputs,
Schema::Nodes(nodes_attributes),
config
nodes = Schema::Nodes(nodes_attributes)

Schema.new(circuit, outputs, nodes, config)
Schema.new(circuit, activity_outputs, nodes, config)
end

# Execute all search strategies for a row, retrieve outputs and
Expand Down

0 comments on commit a3e8605

Please sign in to comment.