Details
-
Documentation
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
1
Description
In order to enable decorator modules to remove metadata (environment variables or labels), we changed the meaning of the return value for decorator hooks.
The Result<T> return values means:
State | Before | After |
---|---|---|
Error | Error is propagated to the call-site | No change |
None | The result of the decorator is not applied | No change |
Some | The result of the decorator is appended | The result of the decorator overwrites the final labels/environment object |