discourse/lib/service
Loïc Guitaut 133a648d9b DEV: Fix policy classes delegating their `#call` method in services
There’s currently a bug when using a dedicated class as a policy in
services: if that class delegates its `#call` method (to an underlying
strategy object for example), then an error will be raised saying steps
aren’t allowed to provide default parameters.

This should not happen, and this patch fixes that issue.
2024-12-18 09:59:40 +01:00
..
action_base.rb
base.rb DEV: Fix policy classes delegating their `#call` method in services 2024-12-18 09:59:40 +01:00
contract_base.rb DEV: Remove hash-like access from service contracts 2024-10-29 16:02:51 +01:00
options_base.rb DEV: Provide user input to services using `params` key 2024-10-25 09:57:59 +02:00
policy_base.rb
runner.rb DEV: Display better output when inspecting service steps 2024-12-12 15:21:10 +01:00
steps_inspector.rb DEV: Display better output when inspecting service steps 2024-12-12 15:21:10 +01:00