lib/convenient_service/aliases.rb in convenient_service-0.7.0 vs lib/convenient_service/aliases.rb in convenient_service-0.8.0
- old
+ new
@@ -1,7 +1,16 @@
# frozen_string_literal: true
+##
+# @internal
+# NOTE: Aliases hide the full constants path from the end-users in order to increase DX.
+# - https://en.wikipedia.org/wiki/User_experience#Developer_experience
+#
module ConvenientService
Command = ::ConvenientService::Support::Command
Concern = ::ConvenientService::Support::Concern
DependencyContainer = ::ConvenientService::Support::DependencyContainer
+
+ ClassicMiddleware = ::ConvenientService::Core::Entities::ClassicMiddleware
+ ConcernMiddleware = ::ConvenientService::Core::Entities::Config::Entities::Concerns::Entities::Middleware
+ MethodChainMiddleware = ::ConvenientService::Core::Entities::Config::Entities::MethodMiddlewares::Entities::Middleware
end