Skip to content
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

Iron session with graphql #549

Open
ssakib4040 opened this issue Oct 13, 2022 · 7 comments
Open

Iron session with graphql #549

ssakib4040 opened this issue Oct 13, 2022 · 7 comments

Comments

@ssakib4040
Copy link

Hi,
Is it possible to use iron-session with graphql apollo server?

@everdrone
Copy link

everdrone commented Oct 27, 2022

Also very interested in using this with @apollo/client

@justlevine
Copy link

Also been trying to figure this out 🤔

@jorgev259
Copy link

Any pointers/suggestions on how to use @apollo/client with the V8 update for Server Actions

@vvo
Copy link
Owner

vvo commented Nov 20, 2023

Hey there, can you provide specific details of what you're trying to achieve, what worked and what failed? Thanks!

@jorgev259
Copy link

Will try the new release first and will get back to you! It has been a couple of days since ive tried it so i dont remember the finer details.

@jorgev259

This comment was marked as off-topic.

@vvo
Copy link
Owner

vvo commented Nov 20, 2023

Hey @jorgev259 you can see a live example of using cookies() with iron session here: https://get-iron-session.vercel.app/app-router-server-component-and-action. Open a different issue if this is unrelated to graphql. Thanks!

I believe you issue is that you call cookies() too early here.

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