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

WIP - Interactor.Builder #15

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

WIP - Interactor.Builder #15

wants to merge 8 commits into from

Commits on Nov 24, 2016

  1. First pass on builder style interactors.

    Heavily influenced by the DSL and code of Plug.Builder.
    alanpeabody committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    a58fd32 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2016

  1. Support assign_to.

    alanpeabody committed Nov 26, 2016
    Configuration menu
    Copy the full SHA
    7ab01e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2016

  1. Move existing behaviour to Interactor.Legecy.

    Enables:
    * Supporting async/task as strategies (opt `strategy: :async`)
    * `Interactor.call/2` always returns an `%Interaction{}`
    alanpeabody committed Nov 27, 2016
    Configuration menu
    Copy the full SHA
    ac3b2a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2016

  1. Move async functionality to Strategy modules.

    This also allows easy extension for other strategies such as Exq, Toniq,
    worker pools, gen server, etc.
    alanpeabody committed Nov 28, 2016
    Configuration menu
    Copy the full SHA
    fd92226 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. Add rollback support.

    alanpeabody committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    50514e7 View commit details
    Browse the repository at this point in the history
  2. Add basic Interactor.Ecto

    alanpeabody committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    5bc6fcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcef882 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91104c4 View commit details
    Browse the repository at this point in the history