mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
With the current implementation, a service step can be written as: ```ruby def my_step(a_default_value: 2) … end ``` That’s a pattern we want to avoid as default values (if needed) should be probably defined in a contract. This patch makes a service raise an exception if a default value is encountered.