menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Posts
Members
Info

apollo-server-micro body stream reading issue ( when using on firebase cloud…

full description: https://stackoverflow.com/questions/67414765/apollo-server-micro-body-stream-reading-issue-when-using-on-firebase-cloud-fun

thumbsup
0
message-simple
0

In a resolver, how can I access the list of the fields the client wants ?

For example, query GetUsers { users {id, first_name, last_name } …

thumbsup
0
message-simple
0

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…

thumbsup
0
message-simple
0

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

thumbsup
0
message-simple
0

Wrap a GraphQL playground with authentication so that the schema is hidden?

Does anyone know how to wrap a GraphQL playground with authentication like Cognito or Amplify so that the schema is hidden?

thumbsup
0
message-simple
1

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…

thumbsup
0
message-simple
2

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…

thumbsup
0
message-simple
3

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 …

thumbsup
1
message-simple
3

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…

thumbsup
0
message-simple
2

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.

thumbsup
0
message-simple
3