Skip to content
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

fix: provide overrideable services at the root level #2627

Conversation

maxokorokov
Copy link
Member

Fixes a regression introduced in 3.0.0, where you had to duplicate overrides for the services in question at the module level in case of lazy-loading

Note: can only use useFactory as a named function that needs to be exported for ngc, useClass with forwardRef doesn't work with providedIn

Fixes #2618

Fixes a regression introduced in 3.0.0, where you had to duplicate overrides for the services in question at the module level in case of lazy-loading

Fixes ng-bootstrap#2618
@maxokorokov maxokorokov force-pushed the fix/for-root-services-override branch from 032b3bd to 7e76ca1 Compare August 20, 2018 10:11
@maxokorokov maxokorokov changed the title fix: provide overrideable services with at the root level fix: provide overrideable services at the root level Aug 20, 2018
@pkozlowski-opensource
Copy link
Member

LGTM!

@pkozlowski-opensource pkozlowski-opensource merged commit 88e5e98 into ng-bootstrap:master Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants