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
When first loading a child page, I see the proper objects injected in the controller. When navigating to a page that changes the :childId but leaves the :parentId the same, both resolve1 and resolve2 are set to the same object, the new resolve2 object. I've verified the parent resolve is not being called a second time. So it seems the the wrong object is getting injected in the second case.
I need more time to make a Plunkr reproducing the issue but thought I'd put this out there in case someone already knows what is going on.
The text was updated successfully, but these errors were encountered:
Duplicating the parent resolve in the child fixes the problem, but obviously duplicates code and causes the resolve to be re-fetched even if the parent doesn't change. So it's definitely something about child state transitions and parent resolve properties.
I have nested states, each with resolve properties, something like this:
When first loading a child page, I see the proper objects injected in the controller. When navigating to a page that changes the
:childId
but leaves the:parentId
the same, bothresolve1
andresolve2
are set to the same object, the newresolve2
object. I've verified the parent resolve is not being called a second time. So it seems the the wrong object is getting injected in the second case.I need more time to make a Plunkr reproducing the issue but thought I'd put this out there in case someone already knows what is going on.
The text was updated successfully, but these errors were encountered: