Investigate simplifying createAll
requirements for components receiving configuration
#5369
Labels
createAll
requirements for components receiving configuration
#5369
What
Investigate if we can have a simpler requirement for
createAll
to pass them a configuration during initialisation, especially not mandating for the component to have a staticdefaults
property.A possible route could be to just check the number of arguments of the component's constructor with
length
🤔Why
createAll
will only pass a configuration to a component if it has adefaults
static property storing a default configuration. While this helps with typing, this is quite a strong constraint on people that would want to implement their own components for use withcreateAll
.Who needs to work on this
Developers
Who needs to review this
Developers
Done when
createAll
The text was updated successfully, but these errors were encountered: