Apollo - Accessing context inside new with-apollo example #15164
Unanswered
hanselabreu
asked this question in
Help
Replies: 1 comment
-
Yes you can if you use GetServerSideProps and access the context parameter. Export const getServerSideProps = (context) => |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Is there any way to access the
context
to get to thereq.headers
inside the new with-apollo example?The goal would be to pass along those
cookies
within theApolloClient
server side to a standalone service.Beta Was this translation helpful? Give feedback.
All reactions