serradura/u-case

Class/Case with an inner flow has a strange behavior when it receives an array of cases

serradura opened this issue · 0 comments

This is not a real bug, because I never documented/tested this feature. However, I tried this (array with cases) and I could see this strange behavior.

class MyCaseB < Micro::Case
  def call!; Success(); end
end

class MyCaseAandB < Micro::Case
  flow [self, MyCaseB] # has a strange behavior, to fix it you need to remove the array. eg: flow(self, MyCaseB)

  def call!; Success(); end
end