Is there a way to pass headers when using getMeshSDK
?
#4858
Unanswered
gablabelle
asked this question in
Q&A
Replies: 0 comments
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.
-
With next 13 and React Server Components,
getMeshSDK
seems to be a great way to leverage your existing GraphQL queries collection in order to run them server-side in your next.js app folder or even in the current getServerSideProps functions.So I was wondering if there a way to pass headers to the queries when using
getMeshSDK
? I've tried the following without luck:Beta Was this translation helpful? Give feedback.
All reactions