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
{{ message }}
This repository has been archived by the owner on May 22, 2023. It is now read-only.
This can happen if e.g. one mixin of the widget uses the injection mixin and the widget itself (or another mixin of the widget) uses the injection mixin. In this case the last applied mixins array wins.
The cause is obviously this line, where injections are overwritten by every new loaded injection mixin.
In the current version there is no simple solution, since every participating mixin / controller defines the $injections array like it needs it by means of the injections() mixin.
Is there any way to achieve something better using the current API? Otherwise, I would say that this is no bug, just a bad API (which we can hopefully improve using something like #7).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This can happen if e.g. one mixin of the widget uses the injection mixin and the widget itself (or another mixin of the widget) uses the injection mixin. In this case the last applied
mixins
array wins.The cause is obviously this line, where injections are overwritten by every new loaded injection mixin.
In the current version there is no simple solution, since every participating mixin / controller defines the
$injections
array like it needs it by means of theinjections()
mixin.EDIT: Perhaps #7 could fix this?
The text was updated successfully, but these errors were encountered: