interactor icon indicating copy to clipboard operation
interactor copied to clipboard

Interactor provides a common interface for performing complex user interactions.

Results 42 interactor issues
Sort by recently updated
recently updated
newest added

I believe this comment is supposed to describe calling the `organize` method rather than `organizer`.

It hasn't seen any activity for over a year. Is it still active?

- Added ensure interactors. - Missing call! method. - Added `_current_interactor_class` in the context.

## What Update docs and comments to encourage people to use the monotonic clock. ## Why The docs and comments show use of `Time.now` for timing interactor descendants. However, `Time.now`...

This PR implements support for inheriting hooks defined in ancestors. [A previous PR has also targeted this issue](https://github.com/collectiveidea/interactor/pull/138); however, that solution does not support hooks declared in ancestors at runtime....

feature

We've been using this library for years, but only recently started adopting `call!` for fast failures. We found that the behavior of a nested `call!` vs a `fail!` was surprising....

Add a `needs_context :key1, :key2, :key3...` method to support basic context contract verification / checking. By including the `ContextValidation` module in your interactor class, you get to declare what items...

I'm rewriting my [API layer](https://github.com/alessandro1997/panther) to use interactors and I noticed callbacks defined on an interactor are not inherited by its children. Is this the desired behavior? For the moment,...

bug

I am having an issue where I use an organizer with 6 interactors. If one of the interactors fails, I expect the rest to not be run. I have code...

Rails 7 adds error codes to validation errors, updated to match rails defaults https://github.com/rails/rails/commit/e83d7dcb2fc98fea3d726fde569001e400a050b1