mirror of
https://github.com/discourse/discourse.git
synced 2025-01-22 09:09:10 +08:00
afdb1ac0a0
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. |
||
---|---|---|
.. | ||
chat |