-
Notifications
You must be signed in to change notification settings - Fork 12k
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(find-lazy-modules): Allow for any valid keys/value to be used #1987
Conversation
and properly understand and return the modules in this case. Also refactored that function to be clearer, and added a test to cover. I made sure the test was failing before this PR ;) Fixes angular#1891, angular#1960. cc @filipesilva @ericjim @chalin - See similar angular#1972
1991700
to
b2aa24f
Compare
There's a small lint error but otherwise LGTM. |
b2aa24f
to
49e32bc
Compare
…gular#1987) * fix(find-lazy-modules): Allow for any valid keys/value to be used and properly understand and return the modules in this case. Also refactored that function to be clearer, and added a test to cover. I made sure the test was failing before this PR ;) Fixes angular#1891, angular#1960. cc @filipesilva @ericjim @chalin - See similar angular#1972 * cleanup
@hansl : thanks for the fix! Must the value's of a {
'loadChildren': `app/{$foo}/settings.module#Module`
}; |
'loadChildren': 'moduleC' | ||
}; | ||
const r4 = { | ||
"loadChildren": 'app/+workspace/+settings/settings.module#SettingsModule' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
and properly understand and return the modules in this case.
Also refactored that function to be clearer, and added a test to cover. I made sure the test was failing before this PR ;)
Fixes #1891, #1960.
cc @filipesilva @ericjim @chalin - See similar #1972