You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this project is essentially dead but i like it because it combined features of express with graphql. I've started moving a lot of my new code to serverless (aws lambda functions) and I've moved my latest implementation from a docker container to serverless using graphql-yoga. I was trying to implement express-session using dynamoDB for my session storage and generally in my server.js file i would do this:
server.express.use(
session({})
)
unfortunately when using graphql-yoga's GraphQLServerLambda you no longer get access to server.express as its not technically running express.
I'm looking for some help on implementing a user session on serverless and how i might go about this. I tried to create a session and add it to the graphQL middle ware but this didn't seem to do anything except initialize a new session every single time a query or mutation was made.
I'd appreciate any knowledge, examples, pointers, or help anyone might be able to provide!
The text was updated successfully, but these errors were encountered:
Hey @funkel1989 we @the-guild-org are the new maintainers for this project. We are actively developing v2 and out of the box it supports various serverless/edge environments. Checkout our new docs
Hello everyone,
I know this project is essentially dead but i like it because it combined features of express with graphql. I've started moving a lot of my new code to serverless (aws lambda functions) and I've moved my latest implementation from a docker container to serverless using graphql-yoga. I was trying to implement express-session using dynamoDB for my session storage and generally in my server.js file i would do this:
unfortunately when using graphql-yoga's GraphQLServerLambda you no longer get access to server.express as its not technically running express.
I'm looking for some help on implementing a user session on serverless and how i might go about this. I tried to create a session and add it to the graphQL middle ware but this didn't seem to do anything except initialize a new session every single time a query or mutation was made.
I'd appreciate any knowledge, examples, pointers, or help anyone might be able to provide!
The text was updated successfully, but these errors were encountered: