menu
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 Platform
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

How to deploy Apollo Server GraphQL on Windows Server #ApolloServer

They are giving me no other choice. How can I do that? It is possible?

thumbsup
2
message-simple
32

Put TypeORM connection in context, or dataSources?

Let's say I have a db connection import { createConnection } from "typeorm" Should I put it in the server's context, or dataSources? 鈥

thumbsup
0
message-simple
1

Invalidate cache on the RestDataSource

Hello everyone, I'm using apollo-server as a middleware between, among others, a drupal and an angular front. My contents are manage entirely in Drupal and we serve them to the front after pass by our middleware. Presently, I didn't implement the cache on the Apollo server with鈥

thumbsup
0
message-simple
0

How can I handle API authorization with multiple datasources

I am using multiple APIs in my app. Each one of them needs some sort of credential in order to get any data back. For instance for one I have to first make a post request to get a token which is then used to make subsequent API requests. The docs seem to imply that you would put鈥

thumbsup
1
message-simple
3

Can we cache final response from a resolver and use the cached data next time?

thumbsup
0
message-simple
1

Apollo response array as object of objects

Hello everyone. I recently came across the following problem: How can I query an object object in which its keys would be of type ID? For example: A query named getBooks instead of returning an array [{id: 1, description: 'any' '}, {id: 2 ...}] would return the following: {"1":鈥

thumbsup
0
message-simple
2

Typenames; Any idea what I'm doing wrong here?

this will result in an error because input expects and input and type expects a type for languages. The issue is that I need these to both be of the same type because Apollo client expects the input of type, "Language" so I can't just create a custom input and type for these鈥

thumbsup
0
message-simple
2

info.cacheControl.setCacheHint does not work

I am trying to set the cache dynamically using info.cacheControl.setCacheHint as per https://www.apollographql.com/docs/apollo-server/performance/caching/ However, the API does not seems to work. Below is the snippet: The response header does not contain max-age. 鈥

thumbsup
0
message-simple
3

Can I use apollo federation just to modularize schema on same server?

Hi, I want to define different schemas in different files and use them as one. The goal is to modularize schema. I've checked some of the apollo federation examples, all of them use schemas running on different servers. But there will be only one server in my case.

thumbsup
2
message-simple
3

Apollo Server to AWS Lambda configurations question

Hello, I am trying to push my Apollo GraphQL server over to AWS Lambda for a project I am working on. I am also following the steps given here: https://www.apollographql.com/docs/apollo-server/deployment/lambda/ Thanks,

thumbsup
0
message-simple
4