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

[ANYONE FROM APOLLO PLEASE ANSWER IT!]: Do some action on gateway's side after…

Hello. I wanna implement simple auth after mutation: I generate a token after mutation and then save it to cookies or anywhere else on the client -> the gateway side. Also, I have a couple of refetches on this mutation that doesn't work (they don't see updated cookies because…

thumbsup
2
message-simple
3

Forwarding response headers back to the client

Is there a way to forward http response headers from a backend service to the client via a federation gateway? Right now, we have a (non-federated) graphql server that, in addition to sending back its normal graphql payload, will sometimes also send back a Set-Cookie header. We…

thumbsup
2
message-simple
24

Testing subgraph with Query stub in federated schema

Hi, We are building a federated graph and have a problem regarding testing the independent subgraphs. We have a subgraph that defines a field on a type with a parent provided by another service at the Query level. The problem is that the organization and organizations fields on…

thumbsup
1
message-simple
1

Sharing an @auth directive over multiple services

Hi, I am trying to implement RBAC in my federated Apollo stack. Normally I would use a @hasPermission(permission = 'module.submodule.action'). However the directives are not shared between the services so now each service would need to implement the same directive. This would…

thumbsup
0
message-simple
0

Why does `buildFederatedSchema` ignore custom directives?

Hi! I'm diving into @apollo/federation and the demo app and I'm wondering why directives defined on federated schemas are thrown away in the _Service.sdl field. Just wondering if I'm missing some key concepts! It looks like directives are filtered down the federation-specific…

thumbsup
4
message-simple
12

buildFederatedSchema not update schema.

Has a problem with Apollo Federation, when update one microservice with buildFederatedSchema, i need restart gateway to schema has been actualization. Have solution for this?

thumbsup
0
message-simple
0

Sharing context across services through Gateway is not working

https://www.apollographql.com/docs/apollo-server/federation/implementing/ If i use this code to pass the app token from gateway to underlying services. it throws me an error of " Error: Apollo Server requires either an existing schema, modules or typeDefs " …

thumbsup
0
message-simple
3

List is turned into object on resolver

Hi I'm running into an issue that I can't explain: While extending an external type I need to access a list on the original object in the resolver: …

thumbsup
0
message-simple
0

Using buildFederatedSchema without gateway

Hi, I am wondering if it's possible to use buildFederatedSchema simply to split huge schema files to some subtypes with own files like this: const schema =buildFederatedSchema([ …

thumbsup
1
message-simple
13

Locked / do not touch REST API services and express federation server

I am working with a collection of micro services via Apollo federation express server. For business reasons there are two services that have a well documented REST API that we can query BUT are not able to be edited/changed. Any hints or pointers? I would preferably like to just…

thumbsup
0
message-simple
0