Replies: 2 comments 1 reply
-
It seems |
Beta Was this translation helpful? Give feedback.
1 reply
-
Solved this problematic by reviewing everything from the ground up with a simple approach (based on vercel/next.js#33892) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently implementing a simple page
/account/edit
and just setuprelay-nextjs
to be able to preload user account values into my form.I have a simple graphqlquery for this, not a problem here.
The thing is:
relay-nextjs
mentions in the doc about page api that nextjs route params are taken automatically into account (which is very convenient).But in my case, I don't have this argument in my route (and don't really want to have an url with a uuid).
I would like to be able to get it from my session (I am using next-auth, working fine, so I have this uuid (as well as my jwt token for queries).
My question is: what is the proper place in all this wonderful
relay-nextjs
glue to pass a given argument for a preloaded query ?I hope my problem is clear, let me know if not !
Have a great day !
Beta Was this translation helpful? Give feedback.
All reactions