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
Resolvers can return redirect command #54556
Conversation
Returning a `RedirectCommand` from a resolver can be interpreted as distinctly different from regular resolved data. When a resolver returns `RedirectCommand` we can interperet this as an intention to redirect in the same way as other guards. resolves angular#29089
9da6905
to
935e13e
Compare
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.
reviewed-for: public-api
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.
LGTM
Reviewed-for: public-api
This PR was merged into the repository by commit 87f3f27. |
) Returning a `RedirectCommand` from a resolver can be interpreted as distinctly different from regular resolved data. When a resolver returns `RedirectCommand` we can interperet this as an intention to redirect in the same way as other guards. resolves angular#29089 PR Close angular#54556
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. |
Returning a
RedirectCommand
from a resolver can be interpreted asdistinctly different from regular resolved data. When a resolver returns
RedirectCommand
we can interperet this as an intention to redirect inthe same way as other guards.
resolves #29089