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

Serverless yoga help #652

Closed
funkel1989 opened this issue Sep 23, 2020 · 1 comment
Closed

Serverless yoga help #652

funkel1989 opened this issue Sep 23, 2020 · 1 comment

Comments

@funkel1989
Copy link

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:

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!

@saihaj saihaj mentioned this issue Dec 5, 2021
32 tasks
@saihaj
Copy link
Collaborator

saihaj commented Feb 19, 2022

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

Would love to get your feedback!

@saihaj saihaj closed this as completed Feb 19, 2022
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

2 participants