Files
discourse/lib
Loïc Guitaut afdb1ac0a0 DEV: Disallow default params in service steps
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.
2024-09-19 14:47:55 +02:00
..
2022-04-28 11:51:03 +02:00
2024-08-12 10:41:13 +02:00
2024-06-18 10:47:18 +02:00
2023-02-21 10:30:48 +01:00
2024-07-04 10:58:21 +02:00
2024-09-05 09:58:20 +02:00
2020-07-21 15:55:03 +08:00
2024-08-27 10:54:25 -04:00