Closed
Description
What problem does this feature solve?
In case of components that can work both as standalone and as children, it would be nice to be able to provide default values for the not provided dependencies.
It would also avoid the warning for missing inject in case this is one of the expected use case.
What does the proposed API look like?
inject: Array | { [key: string]: string | Symbol | { name: string | Symbol, default: any } }