Skip to content

Resolver's order of execution #843

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

Closed
maharaja-sv opened this issue Jan 31, 2014 · 4 comments
Closed

Resolver's order of execution #843

maharaja-sv opened this issue Jan 31, 2014 · 4 comments

Comments

@maharaja-sv
Copy link

I added resolver in both child state and parent state. When I accessed my child state directly the order of resolver is executed in reverse. First the child state resolver executes then parent state resolver executes, which must b executed in reverse. For ex. Consider there are countries List from which I select state then city, I need to get countries List(COUNTRY State) through my parent resolver and then state list(STATE State) for a specified country through next child resolver which has Country as $stateparam and then city list(CITY State) for the selected state through next child resolver which has state as $stateparam. Now when I access the url with country and state directly i.e /India/TamilNadu then my resolver is executed in reverse.

@timkindberg
Copy link
Contributor

Will need a plunkr to look at. Thanks.

@frapontillo
Copy link

I wasn't sure if this was by design or an issue, so I opened a question on StackOverflow.
You can look at a working plnkr detailing the problem here.

This might also be related to #868.

@rschmukler
Copy link

@timkindberg any update on this / #868 ? I realize it's an old issue, but this would still be great!

@eddiemonge
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants