aaronmallen/activeinteractor

[Bug Report] Allow default attributes to propagate to sibling/child interactors

aka-momo opened this issue · 0 comments

Current Behavior

After defining a default value for context attributes, like:

attribute :foo, default: "Foo"

context.foo returns nil during perform of sibling or child interactors

Expected Behavior

context.foo returns "Foo" during perform of sibling or child interactors

Steps to Reproduce

  1. Create a simple organizer with default attributes in context
  2. Create Simple Child interactors
  3. Do not set the default attributes during calling the perform method
  4. Try accessing the default attributes inside the child interactors

Repeat same steps for sibling interactors.

Additional Comments