You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For component implementers, it would be good to document what and when a factoryFunc may return an error.
It seems like that ErrDataTypeIsNotSupported is explicitly called out as a potential error that can be reported. Instead of returning this error, can factoryFuncs return nil instead?
From lifecycle tests, we know ideally factoryFuncs should stay away from running validation of config or environment. Can we document this explicitly?
The text was updated successfully, but these errors were encountered:
#### Description
Document factory functions to mention what error can be reported if the
signal is not supported.
#### Link to tracking issue
Fixes#9323
For component implementers, it would be good to document what and when a factoryFunc may return an error.
It seems like that
ErrDataTypeIsNotSupported
is explicitly called out as a potential error that can be reported. Instead of returning this error, can factoryFuncs return nil instead?From lifecycle tests, we know ideally factoryFuncs should stay away from running validation of config or environment. Can we document this explicitly?
The text was updated successfully, but these errors were encountered: