lib/convenient_service/service/plugins.rb in convenient_service-0.18.0 vs lib/convenient_service/service/plugins.rb in convenient_service-0.19.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
##
# @internal
-# NOTE: Order matters.
+# NOTE: Some plugins are order-dependent.
#
require_relative "plugins/has_result"
require_relative "plugins/has_negated_result"
require_relative "plugins/has_j_send_result"
@@ -16,11 +16,13 @@
require_relative "plugins/can_recalculate_result"
require_relative "plugins/can_have_method_steps"
require_relative "plugins/can_have_stubbed_results"
require_relative "plugins/can_have_fallbacks"
+require_relative "plugins/can_have_rollbacks"
require_relative "plugins/collects_services_in_exception"
require_relative "plugins/counts_stubbed_results_invocations"
+require_relative "plugins/forbids_convenient_service_entities_as_constructor_arguments"
require_relative "plugins/has_inspect"
require_relative "plugins/has_j_send_result_short_syntax"
require_relative "plugins/has_j_send_result_status_check_short_syntax"
require_relative "plugins/has_mermaid_flowchart"
require_relative "plugins/raises_on_not_result_return_value"