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

Are mocks supported with Apollo Federation.

On a federated GraphQL server, in my case the users service http://localhost:3000/users setting mocks: true in the apollo server configuration, allows mock data to be returned when runing queries and mutations in its playground. But when accessing http://localhost:3000 the…

thumbsup
0
message-simple
1

Federated services availability

Good morning, we are evaluating Apollo Federation as possible solution for schema composition in a microservices environment and I have a question. The environment will be very dynamic with applications that can be deployed, bringing their contribution to the main graph, and…

thumbsup
0
message-simple
0

gateway on apollo-server-express

Hi, have somebody tried to run Apollo gateway on apollo-server-express I'm facing the following error

thumbsup
1
message-simple
6

Handling availability and timing

I'm converting my project's graphql microservices from the mergeSchemas way to using Federation. I was wondering about how availability is (going to be) handled during startup and while the servers are alive. In the docs…

thumbsup
3
message-simple
4

Federation auth layer?

What is the best way to perform authentication in the federation service before forwarding the request to any of it's services? I currently have Federation, Auth serivce,...[other services]. Ideally I would like to call the auth service and only if authentication is granted to…

thumbsup
3
message-simple
8

How to use interfaces across services?

I have an interface defined in one service called SearchableEntity I would like to be able to use it in a different service like this: I created stub like it's done for regular types: …

thumbsup
1
message-simple
3

Correct way to merge schemas with buildFederatedSchema for a single federated…

What is the right way to merge multiple schemas with buildFederatedSchema for a single federated sub-service (that is, on the federated server, not on the gateway server)? Since schema stitching is deprecated, I tried using buildFederatedSchema to combine my local schemas into a…

thumbsup
2
message-simple
2

Using @requires for a field not defined in the owner service

We'd like to be able to use @requires in cases where the field being required isn't owned by the service that owns the type. For example, in the federation demo, it would be nice if the reviews field could see whether the product is in stock, via Another case that would be…

thumbsup
1
message-simple
1

How to pass an authorization code from gateway to a micro service?

Here is the sample code: (async () => { //retrieve user with the token …

thumbsup
0
message-simple
6

__resolveReference for collections and __resolveReference N+1 optimizations?

__resolveReference should return a single instance. Trying to return a collection fails with error. But this is so highly innefecient. If I query from gateway 100 users (service users) with books, each of them having 100 books (service books) it will make 10000 requests to books…

thumbsup
0
message-simple
2