Solid-Start + GraphQL session info
Hi!
I have a GraphQL handler at
http://localhost:3000/graphql and I want to get session info by calling getSession inside of it but when I do it I receive no data (I do get session details when I call it on pages with createServerData$).
Is it expected behavior? If not, what are the ways to debug it (I'm somewhat new to this)?
File at /src/routes/graphql.tsx
2 Replies
I've read this (https://start.solidjs.com/core-concepts/api-routes#session-management) once again and decided to output cookies from requests
SolidStart Beta Docuentation
SolidStart Beta Documentation
Early release documentation and resources for SolidStart Beta

Maybe I'm calling GQL fetch incorrectly?
Right now the call path looks like this:
->
->
Right now as a workaround I passed
event from createServerData$ down to gqlCall to pull cookies from there for the fetch and it works. But still feels like I'm missing something.