lib/hanami/cli/generators/gem/app/action.erb in hanami-cli-2.1.1 vs lib/hanami/cli/generators/gem/app/action.erb in hanami-cli-2.2.0.beta1

- old
+ new

@@ -1,9 +1,12 @@ # auto_register: false # frozen_string_literal: true require "hanami/action" +require "dry/monads" module <%= camelized_app_name %> class Action < Hanami::Action + # Provide `Success` and `Failure` for pattern matching on operation results + include Dry::Monads[:result] end end