# All channels
Sachin D. Shinde@sachin-shinde
Throwing Apollo Error from outside query context.
Hi, I have a subscription that is getting data from an external WebSocket server. I'm opening the WebSocket connection to the external server inside "onConnect" method of graphql Server. (if it is inside connection) But whenever this WebSocket connection breaks, the subscription…
Large Graphql Schema Files architecture [Except for federation]
Hey guys , im working on wraping a big API in graphql which has a lot of queries , mutations , im using apollo server and i wanted to know some good practises to organise my resolvers , queries files , thanks in advance
Express with Apollo Server Lambda
Hello, I am trying to deploy my app on serverless but i made it with a middleware and apollo-server-express, now for deployment section to AWS lambda, the docs say to use apollo-server-lambda, but it doesn't expose the applyMiddleware method, how do i make use of that in my…
Obtaining the current user in a subscription.
I'm trying to figure out how to obtain the current user and reading this: https://www.apollographql.com/docs/apollo-server/data/subscriptions/ it says For subscriptions, you extract this metadata from the connection object instead., but then doesn't show how. It only goes to…
CORS missing allow origin
I've spent days with different configurations trying to figure this out but I think I've just accepted that I don't understand CORS The client is running at a different location than the server I set cors to false for ApolloServer opting for express cors …
Apollo Server timeout handling
I would like to add a timeout handler to my Apollo GraphQL Server. I am able to add a timeout in the express middleware but obviously GraphQL still runs through every resolver, making the timeout a bit pointless. Passing the req.timedout in the context does not work as it seems…
Timeout in 2 minutes for a long running mutation
I have a mutation which runs for more than 2 minutes, I get an empty response from the server after 2 minutes. I'm using apollo-server-express and tried setting the timeout using server.setTimeout, but it still times out after 2 minutes. Any help here would be appreciated.