Skip to content

Provide a base "operation" class #66

Open
@timriley

Description

@timriley

There are a bunch of common things we could pull out of all of our operations:

  • include Dry::Monads::Either::Mixin
  • include Dry::Matcher.for(:call, with: Dry::Matcher::EitherMatcher)
  • Provide a way to consistently enable the call(*args).or { |f| raise Failure, f } pattern inside #call_from_queue methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions