activeinteractor
activeinteractor copied to clipboard
[Bug Report] before_perform invoked before context is validated
Current Behavior
Currently, the before_perform logic runs before the context is validated. I'm not sure if this is expected, but it seems unexpected to me.
Expected Behavior
Context should be validated before before_perform callback runs
Steps to Reproduce
- Create an interactor that uses a
before_performevent and also has context validation - Call the interactor in a way that violates the context validation
- Observe that
before_performis called before the context is checked for validity