Repository navigation
fix(router): should run resolvers for the same route concurrently - #15499
Conversation
There was a problem hiding this comment.
2 resolvers should be enough.
May be the second should complete the first and then we do not have to play with timings.
There was a problem hiding this comment.
removed the 3rd resolver
vicb
left a comment
There was a problem hiding this comment.
Please address the comments.
Also waitForMap is called twice in the code base. Could it cause concurrency issue when loading child config (ie if both use the loadChildren) ?
probably yes, so I decided not to use it at all. It's more readable without
Don't think it's a good idea. Consider such test but without the fix (resolvers run sequentially). |
Jasmine will timeout by default (you can override the default timeout with a shorter one). |
should be trivial ? |
|
@vicb updated. it's a little bit more code but it's sync now 馃槂 |
|
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. |
Fixes #14279