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
fix(Resolvable): Make resolveResolvable use a subset of the overall resolve Path (from path root to the resolve's state), so it injects the proper objects.
This fixes a problem where a resolve at a parent state injects a resolve overridden in a child state.
Another scenario this fixes is when a parent resolve defines a resolve which is named the same as a service it depends on (it's in the sample app). To properly inject the service, we need to exclude the resolve/service name when getting the available resolvables from the path context. This happens by filtering the resolve's own name from the *last* path element, so if the path is incorrectly provided, the name is also filtered incorrectly.
0 commit comments