-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Configs are lost #17
Comments
Submitted a PR: |
@adickson311 but is it ? the configs are registered in the service right ? so service holds them all, and whenever we call
|
@adickson311 because the constructors should happen one by one and NOT concurrently, that way we should also append configs to the service one by one and not lose anything ? |
@adickson311 the only way I could reproduce your bug is
Where only the second The usage of last config prevents us from adding single config multiple times because then every new feature would re-add all the previous configs (because of the multi provider) and spam user with warning like this...
|
@adickson311 do you have any other way to reproduce this behavior ? |
@adickson311 is this still an issue? |
If you make multiple calls to
LazyElementsModule.forFeature(options),
... you will only get the last configuration and lose references to other configs.In LazyElementModule constructor:
This should be:
The text was updated successfully, but these errors were encountered: