-
Notifications
You must be signed in to change notification settings - Fork 30
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
Redirect post query on relay-nextjs v2 #87
Comments
Seems like I'm going to have the same kind of problem when upgrading. We're using E: Lol forgot I was the one who added |
This was an unintended removal, I'll make sure it's fixed soon! |
This should be fixed in v2.0.1. Apologies for the breakage and thank you for opening this issue! Please re-open this issue if you continue to experience issues with this API or |
@rrdelaney wow, that was fast! Thank you! |
Hi everyone,
I'm migrating from relay-nextjs v1 to v2, following the example migration. Everything seems to be working as expected and the new set up process is much simpler.
However, in my app there are some pages where the user is conditionally redirected based on data - that is, depending on some user info in the database, they are redirected to another page. Previously, we used
serverSidePostQuery
to do this:With the upgrade to v2, this callback has been removed. I'd like to understand more about what the recommended strategy is for this use case. I'm also interested in contributing if necessary.
Thanks for your help.
The text was updated successfully, but these errors were encountered: