Unleash / yggdrasil

MIT License
16 stars 4 forks source link

fix(core): strategies that are broken will now default to false #102

Closed sighphyre closed 10 months ago

sighphyre commented 10 months ago

This allows the code path that converts raw strategy structs to the DSL format to fallback to "false" when a recoverable error is encountered. Typically this is because no parameters were passed for the strategy. This means the strategies will be ignored when evaluated.

This isn't necessary to pass the spec tests and "should" never happen but life doesn't work like that and we can and should handle recoverable errors.