mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 18:10:11 +08: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.