lib/convenient_service/configs/minimal.rb in convenient_service-0.10.1 vs lib/convenient_service/configs/minimal.rb in convenient_service-0.11.0

- old
+ new

@@ -32,22 +32,22 @@ use Plugins::Common::HasConstructor::Concern use Plugins::Common::HasConstructorWithoutInitialize::Concern use Plugins::Service::HasResult::Concern - use Plugins::Service::HasResultSteps::Concern + use Plugins::Service::CanHaveSteps::Concern end middlewares :initialize do use Plugins::Common::NormalizesEnv::Middleware end middlewares :result do use Plugins::Common::NormalizesEnv::Middleware use Plugins::Service::HasResult::Middleware - use Plugins::Service::HasResultSteps::Middleware + use Plugins::Service::CanHaveSteps::Middleware end middlewares :step do use Plugins::Common::NormalizesEnv::Middleware end @@ -68,9 +68,19 @@ use Plugins::Common::NormalizesEnv::Middleware end middlewares :step, scope: :class do use Plugins::Common::NormalizesEnv::Middleware + + ## + # IMPORTANT: + # - `CanHaveMethodSteps` is disabled in the Standard config since it causes race conditions in combination with `CanHaveStubbedResult`. + # - It will be reenabled after the introduction of thread-safety specs. + # - Do not use it in production yet. + # + # use Plugins::Service::CanHaveMethodSteps::Middleware + + use Plugins::Service::CanHaveResultStep::Middleware end class self::Internals include Core