Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Output() => Id()" behaviour across "Subprocess" gets into the infinite loop #37

Open
yogeshjain999 opened this issue Oct 26, 2020 · 0 comments

Comments

@yogeshjain999
Copy link
Member

class Nested < Trailblazer::Activity::Railway
  step :one, Output(:success) => Id(:three)
end

class Main < Trailblazer::Activity::Railway
  step Subprocess(Nested), id: :two
  step :three
end

Above example gets stuck into the loop of https://github.com/trailblazer/trailblazer-activity/blob/master/lib/trailblazer/activity/circuit.rb#L44. Should it give invalid step ID exception instead ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant