# \#federation

**URL:** https://community.apollographql.com/tag/federation/5.md

[Latest](https://community.apollographql.com/latest.md) · [Categories](https://community.apollographql.com/categories.md) · [Tags](https://community.apollographql.com/tags.md)

---

## [GraphQL Federation: What's the right way to use \_\_typename for fragment on Interface?](https://community.apollographql.com/t/graphql-federation-whats-the-right-way-to-use-typename-for-fragment-on-interface/10004)

<div class="topic-metadata">

**Author:** [@yuhanz](https://community.apollographql.com/u/yuhanz)\
**Replies:** 3\
**Last updated:** [September 17, 2026, 7:18pm UTC](https://community.apollographql.com/t/graphql-federation-whats-the-right-way-to-use-typename-for-fragment-on-interface/10004 "2026-09-17T19:18:48Z")

</div>

We are upgrading our GraphQL Federation to the latest “@apollo/gateway”: “2.14.4” and find out that it handles fragment on interface differently than the older version. In the older version, the query plan will interpre…

---

## [Defining @cacheTag directive based on query input type](https://community.apollographql.com/t/defining-cachetag-directive-based-on-query-input-type/9679)

<div class="topic-metadata">

**Author:** [@contractor](https://community.apollographql.com/u/contractor)\
**Replies:** 0\
**Last updated:** [January 30, 2026, 1:57pm UTC](https://community.apollographql.com/t/defining-cachetag-directive-based-on-query-input-type/9679 "2026-01-30T13:57:02Z")

</div>

Is it possible to define @cacheTag format using properties from input type object that is passed to particular query? I have following example: input AuthorInput { firstName: String! lastName: String! } type Query …

---

## [Securing Apollo Federation Subgraphs: Context and Best Practices](https://community.apollographql.com/t/securing-apollo-federation-subgraphs-context-and-best-practices/9646)

<div class="topic-metadata">

**Author:** [@DavidWalter](https://community.apollographql.com/u/DavidWalter)\
**Replies:** 0\
**Last updated:** [January 14, 2026, 8:27pm UTC](https://community.apollographql.com/t/securing-apollo-federation-subgraphs-context-and-best-practices/9646 "2026-01-14T20:27:21Z")

</div>

A reminder for teams running Apollo Federation: your subgraphs should only be accessible through the router. This architectural boundary is what enables centralized auth, demand control, and operation safelisting. Witho…

---

## [Router Auth Directives + Token Refresh Clarification](https://community.apollographql.com/t/router-auth-directives-token-refresh-clarification/9502)

<div class="topic-metadata">

**Author:** [@mjfaga](https://community.apollographql.com/u/mjfaga)\
**Replies:** 4\
**Last updated:** [January 9, 2026, 7:49pm UTC](https://community.apollographql.com/t/router-auth-directives-token-refresh-clarification/9502 "2026-01-09T19:49:06Z")

</div>

Hey folks - hoping there is some good guidance or clarification that someone can give me regarding the JWT Authentication flows built into the router. I want to use the Routers @authenticated/@requiresScopes directives …

---

## [MCP tool usage results in code: ErrorCode(-32603)](https://community.apollographql.com/t/mcp-tool-usage-results-in-code-errorcode-32603/9261)

<div class="topic-metadata">

**Author:** [@Super\_Space](https://community.apollographql.com/u/Super_Space)\
**Replies:** 9\
**Last updated:** [December 3, 2025, 3:30pm UTC](https://community.apollographql.com/t/mcp-tool-usage-results-in-code-errorcode-32603/9261 "2025-12-03T15:30:57Z")

</div>

We’re currently receiving the following error starting the router/mcp locally: rover dev –graph-ref XXXXXXXXXX –supergraph-config supergraph\_config\_local.yaml –router-config config\_local.yaml –mcp –mcp-port 50…

---

## [Rate limiting when publishing subgraph schemas](https://community.apollographql.com/t/rate-limiting-when-publishing-subgraph-schemas/9521)

<div class="topic-metadata">

**Author:** [@Alix\_Cook](https://community.apollographql.com/u/Alix_Cook)\
**Replies:** 1\
**Last updated:** [October 22, 2025, 5:45pm UTC](https://community.apollographql.com/t/rate-limiting-when-publishing-subgraph-schemas/9521 "2025-10-22T17:45:01Z")

</div>

Since the outage caused by AWS, we have been unable to publish our graphql schemas. When we run rover subgraph schema publish, we get a RATE\_LIMIT\_EXCEEDED response. This is not intermittent, this happens every time. I …

---

## [Connectors spec v0.3 deployment issues](https://community.apollographql.com/t/connectors-spec-v0-3-deployment-issues/9514)

<div class="topic-metadata">

**Author:** [@\_Up](https://community.apollographql.com/u/_Up)\
**Replies:** 1\
**Last updated:** [October 21, 2025, 2:46pm UTC](https://community.apollographql.com/t/connectors-spec-v0-3-deployment-issues/9514 "2025-10-21T14:46:16Z")

</div>

Hello, I am trying to deploy a connectors subgraph that uses the connect v0.3 spec, which is currently in preview. (My queries have optional query parameters for filtering, which I was told on discord requires using the…

---

## [Federation Types with no service backing them](https://community.apollographql.com/t/federation-types-with-no-service-backing-them/9510)

<div class="topic-metadata">

**Author:** [@edinstance](https://community.apollographql.com/u/edinstance)\
**Replies:** 0\
**Last updated:** [October 17, 2025, 3:23pm UTC](https://community.apollographql.com/t/federation-types-with-no-service-backing-them/9510 "2025-10-17T15:23:48Z")

</div>

I am creating a federated Graphql API with Apollo Router, I have a couple of types and directives that I want to share between multiple of my subgraphs, such as an authentication directive or a shared type for pagination…

---

## [Different number of subgraphs call for same query](https://community.apollographql.com/t/different-number-of-subgraphs-call-for-same-query/9332)

<div class="topic-metadata">

**Author:** [@Ajay\_Berwal](https://community.apollographql.com/u/Ajay_Berwal)\
**Replies:** 8\
**Last updated:** [October 7, 2025, 4:32am UTC](https://community.apollographql.com/t/different-number-of-subgraphs-call-for-same-query/9332 "2025-10-07T04:32:46Z")

</div>

Hi Team, I am using a single query for multiple users and depending on the users it is calling different number of subgraph calls. Sample query query getAssetByPath1 { resolveUserHome { ...repoMetadata ... o…

---

## [Is is possible to convey extensions from a subgraph?](https://community.apollographql.com/t/is-is-possible-to-convey-extensions-from-a-subgraph/5815)

<div class="topic-metadata">

**Author:** [@donald.ball](https://community.apollographql.com/u/donald.ball)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 2:33pm UTC](https://community.apollographql.com/t/is-is-possible-to-convey-extensions-from-a-subgraph/5815 "2025-08-07T14:33:03Z")

</div>

We have a gqlgen subgraph running behind the nodejs apollo federated server (@apollo/gateway@2.3.2; @apollo/server@4.4.0). We’d like to offer some semi-structured data for certain queries in the extensions portion of the…

---

## [Incorrect query planning for implementations defined in separate subgraphs with interfaceObject](https://community.apollographql.com/t/incorrect-query-planning-for-implementations-defined-in-separate-subgraphs-with-interfaceobject/9239)

<div class="topic-metadata">

**Author:** [@hemanta212](https://community.apollographql.com/u/hemanta212)\
**Replies:** 0\
**Last updated:** [June 24, 2025, 6:25pm UTC](https://community.apollographql.com/t/incorrect-query-planning-for-implementations-defined-in-separate-subgraphs-with-interfaceobject/9239 "2025-06-24T18:25:47Z")

</div>

We have two subgraphs: ‘resources’ and ‘learning’ ‘learning’ defines the following interfaces. “UserQuestion” interface “Question” interface, which implements “UserQuestion” “ShortQuestion”, “MultiQuestion” types, whi…

---

## [Filtering on fields across multiple subgraphs](https://community.apollographql.com/t/filtering-on-fields-across-multiple-subgraphs/9108)

<div class="topic-metadata">

**Author:** [@steffen](https://community.apollographql.com/u/steffen)\
**Replies:** 2\
**Last updated:** [June 10, 2025, 7:45am UTC](https://community.apollographql.com/t/filtering-on-fields-across-multiple-subgraphs/9108 "2025-06-10T07:45:52Z")

</div>

Hello, Currently I’m working on a POC to migrate some of our frontend api’s to GraphQL with federation. In one of the use cases I have the following two subgraphs(simplified for the sake of abbreviation). # Organisati…

---

## [Upgrading to @apollo/gateway 2.x while keeping Federation 1](https://community.apollographql.com/t/upgrading-to-apollo-gateway-2-x-while-keeping-federation-1/8702)

<div class="topic-metadata">

**Author:** [@sgarg7](https://community.apollographql.com/u/sgarg7)\
**Replies:** 10\
**Last updated:** [June 9, 2025, 7:07pm UTC](https://community.apollographql.com/t/upgrading-to-apollo-gateway-2-x-while-keeping-federation-1/8702 "2025-06-09T19:07:25Z")

</div>

I’m performing an overdue upgrade of @apollo/gateway 0.x to 2.x, while keeping Federation 1 to keep it simple and incremental, then eventually upgrade to Federation 2. I’m not sure if I’m missing some syntax to force th…

---

## [Problem getting a subschema to produce as federation 2](https://community.apollographql.com/t/problem-getting-a-subschema-to-produce-as-federation-2/9150)

<div class="topic-metadata">

**Author:** [@Paul\_Hempenstall](https://community.apollographql.com/u/Paul_Hempenstall)\
**Replies:** 0\
**Last updated:** [June 6, 2025, 2:41pm UTC](https://community.apollographql.com/t/problem-getting-a-subschema-to-produce-as-federation-2/9150 "2025-06-06T14:41:30Z")

</div>

Hello all, We are using graphql, and federation and liking the support we get from it to build out a microservice architecture. However, in the act of trying to get some varying services federating nicely, we have encou…

---

## [Safe Schema update of gateway (polling), Hot Schema Reloading in Apollo Gateway Without Process Restart](https://community.apollographql.com/t/safe-schema-update-of-gateway-polling-hot-schema-reloading-in-apollo-gateway-without-process-restart/9117)

<div class="topic-metadata">

**Author:** [@Arth\_Gupta](https://community.apollographql.com/u/Arth_Gupta)\
**Replies:** 0\
**Last updated:** [May 30, 2025, 6:49am UTC](https://community.apollographql.com/t/safe-schema-update-of-gateway-polling-hot-schema-reloading-in-apollo-gateway-without-process-restart/9117 "2025-05-30T06:49:09Z")

</div>

In our production setup, we use Apollo Gateway (with NestJS) to federate multiple GraphQL subgraphs. Our biggest challenge is safely updating the federated schema in a running Gateway instance without restarting the enti…

---

## [Is ApolloGateway a must for federation?](https://community.apollographql.com/t/is-apollogateway-a-must-for-federation/9050)

<div class="topic-metadata">

**Author:** [@chungwong](https://community.apollographql.com/u/chungwong)\
**Replies:** 3\
**Last updated:** [May 16, 2025, 4:37am UTC](https://community.apollographql.com/t/is-apollogateway-a-must-for-federation/9050 "2025-05-16T04:37:15Z")

</div>

Say I have two Graphql schemas from two different programming langauges(Rust and Elixir) and the frontend is using Relay. Is it a must to use the ApolloGateway like showed here

---

## [Apollo Federation update documentation](https://community.apollographql.com/t/apollo-federation-update-documentation/9051)

<div class="topic-metadata">

**Author:** [@nidnogg](https://community.apollographql.com/u/nidnogg)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 4:00pm UTC](https://community.apollographql.com/t/apollo-federation-update-documentation/9051 "2025-05-15T16:00:15Z")

</div>

hey folks, I’ve been trying to look up info on this without much success. could anyone point me to relevant documentation on upgrading Apollo Federation version? I’ve noticed I’ll need a feature that is covered from Apo…

---

## [Entity design: creating a new entity vs. adding to an existing entity](https://community.apollographql.com/t/entity-design-creating-a-new-entity-vs-adding-to-an-existing-entity/8781)

<div class="topic-metadata">

**Author:** [@deebugger](https://community.apollographql.com/u/deebugger)\
**Replies:** 3\
**Last updated:** [May 9, 2025, 8:29pm UTC](https://community.apollographql.com/t/entity-design-creating-a-new-entity-vs-adding-to-an-existing-entity/8781 "2025-05-09T20:29:07Z")

</div>

Hiya folks! We have several teams, one for each entity in our portal: Accounts, Apps and Users. Each team managed its own subgraph in the federation, with the Users and Apps teams adding data to the Account entity (like…

---

## [Custom Directive with a Co-processor at Router level](https://community.apollographql.com/t/custom-directive-with-a-co-processor-at-router-level/8994)

<div class="topic-metadata">

**Author:** [@Dhanik](https://community.apollographql.com/u/Dhanik)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 8:07pm UTC](https://community.apollographql.com/t/custom-directive-with-a-co-processor-at-router-level/8994 "2025-04-30T20:07:06Z")

</div>

I want to provide a directive similar to @date(format: “mmmm d, yyyy”) for our supergraph users. Users of Apollo Explorer should be able to use this directive. I want to convert the value at the router level, possibly us…

---

## [Owner Directive - Schema Proposals](https://community.apollographql.com/t/owner-directive-schema-proposals/8541)

<div class="topic-metadata">

**Author:** [@kylekrupp](https://community.apollographql.com/u/kylekrupp)\
**Replies:** 20\
**Last updated:** [April 21, 2025, 8:31pm UTC](https://community.apollographql.com/t/owner-directive-schema-proposals/8541 "2025-04-21T20:31:41Z")

</div>

Hi all, the @owner directive seems like a very useful tool for streamlining the review process and adding the “right” people to review schema changes in a PR, rather than having a long list of gatekeepers. I’m curious i…

---

## [Recommended pattern for orchestrating multiple entities and computed fields](https://community.apollographql.com/t/recommended-pattern-for-orchestrating-multiple-entities-and-computed-fields/7132)

<div class="topic-metadata">

**Author:** [@dpchamps](https://community.apollographql.com/u/dpchamps)\
**Replies:** 1\
**Last updated:** [April 16, 2025, 11:21pm UTC](https://community.apollographql.com/t/recommended-pattern-for-orchestrating-multiple-entities-and-computed-fields/7132 "2025-04-16T23:21:54Z")

</div>

I can’t find much discussion on the internet for how this might be achieved, help would be appreciated. Let’s start with a basic example: # Data1 type Data1 @key(fields: "id") { id: ID! someData: String! } # Anoth…

---

## [Comprehensive GraphQL Specification Proposal](https://community.apollographql.com/t/comprehensive-graphql-specification-proposal/8916)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Susnjar](https://community.apollographql.com/u/Aleksandar_Susnjar)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 2:26pm UTC](https://community.apollographql.com/t/comprehensive-graphql-specification-proposal/8916 "2025-04-16T14:26:27Z")

</div>

Note: this isn’t quite a Schema Design post, but I couldn’t find a more suitable category. I’ve put some more time last weekend to work on a comprehensive GraphQL specification proposal. It is now almost ready to be s…

---

## [Ephemeral deploys for E2E testing in staging/pre-prod environments](https://community.apollographql.com/t/ephemeral-deploys-for-e2e-testing-in-staging-pre-prod-environments/8868)

<div class="topic-metadata">

**Author:** [@johnmarkham](https://community.apollographql.com/u/johnmarkham)\
**Replies:** 4\
**Last updated:** [April 10, 2025, 12:03am UTC](https://community.apollographql.com/t/ephemeral-deploys-for-e2e-testing-in-staging-pre-prod-environments/8868 "2025-04-10T00:03:51Z")

</div>

We want to leverage ephemeral schema variants and ephemeral router deployments to support a stable E2E testing flow in our staging environment. Internally, our deployment sister team is building out our ephemeral deploy…

---

## [How would you do \`@shareable\` + \`@requires\`?](https://community.apollographql.com/t/how-would-you-do-shareable-requires/8794)

<div class="topic-metadata">

**Author:** [@markl](https://community.apollographql.com/u/markl)\
**Replies:** 0\
**Last updated:** [March 25, 2025, 5:32pm UTC](https://community.apollographql.com/t/how-would-you-do-shareable-requires/8794 "2025-03-25T17:32:01Z")

</div>

Hi! We have a use case that super-simplified wants to look like the following Schema A type ResponseConfirmation @shareable { """A string to display in the UI thanking the user for their response.""" confirmation: …

---

## [Has the definition of value type changed between federation 1 and federation 2?](https://community.apollographql.com/t/has-the-definition-of-value-type-changed-between-federation-1-and-federation-2/8080)

<div class="topic-metadata">

**Author:** [@ki-ri](https://community.apollographql.com/u/ki-ri)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 12:58pm UTC](https://community.apollographql.com/t/has-the-definition-of-value-type-changed-between-federation-1-and-federation-2/8080 "2025-03-20T12:58:14Z")

</div>

Hi! I noticed that the definition of Value Type has changed between federation 1 and federation 2, am I correct? for federation 1: https://www.apollographql.com/docs/federation/v1/value-types for federation 2: Value Ty…

---

## [Router v2.x configuration for exporters.metrics.common.attributes does not work on v2.x](https://community.apollographql.com/t/router-v2-x-configuration-for-exporters-metrics-common-attributes-does-not-work-on-v2-x/8691)

<div class="topic-metadata">

**Author:** [@juancarlosjr97](https://community.apollographql.com/u/juancarlosjr97)\
**Replies:** 4\
**Last updated:** [March 17, 2025, 10:01pm UTC](https://community.apollographql.com/t/router-v2-x-configuration-for-exporters-metrics-common-attributes-does-not-work-on-v2-x/8691 "2025-03-17T22:01:50Z")

</div>

We are starting to roll out Apollo Router v2.x. We followed the migration guide from Release v2.0.0 · apollographql/router · GitHub and we ran the migration script for the router.yaml and the script did not pick up anyth…

---

## [Router does redundant call when a Subgraph requires a field](https://community.apollographql.com/t/router-does-redundant-call-when-a-subgraph-requires-a-field/8690)

<div class="topic-metadata">

**Author:** [@awdng](https://community.apollographql.com/u/awdng)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 6:27pm UTC](https://community.apollographql.com/t/router-does-redundant-call-when-a-subgraph-requires-a-field/8690 "2025-03-12T18:27:24Z")

</div>

You have a query where: The initial subgraph already resolves a @shareable field and returns it. A second subgraph requires the same @shareable field using @requires. Instead of passing the existing value which was alr…

---

## [GraphQL connectors? (Yes, GraphQL, not REST)](https://community.apollographql.com/t/graphql-connectors-yes-graphql-not-rest/8685)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Susnjar](https://community.apollographql.com/u/Aleksandar_Susnjar)\
**Replies:** 3\
**Last updated:** [March 7, 2025, 6:51pm UTC](https://community.apollographql.com/t/graphql-connectors-yes-graphql-not-rest/8685 "2025-03-07T18:51:14Z")

</div>

HI! I’m going to be fishing for opinions here/experiences here, both from you with actual experience and those who are yet contemplating it. Apollo Federation does great things for GraphQL but GraphQL itself has edges t…

---

## [How do you feel about API security?](https://community.apollographql.com/t/how-do-you-feel-about-api-security/8688)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Susnjar](https://community.apollographql.com/u/Aleksandar_Susnjar)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 5:16pm UTC](https://community.apollographql.com/t/how-do-you-feel-about-api-security/8688 "2025-03-06T17:16:45Z")

</div>

Just trying to gauge the level of need and awareness of what it takes to expose a secure API… Before reading anything I may think about it: Do you “feel” that the REST ecosystem is inherently more secure than GraphQL ……

---

## [What's the best practice to migrate fields to a different subgraph](https://community.apollographql.com/t/whats-the-best-practice-to-migrate-fields-to-a-different-subgraph/8668)

<div class="topic-metadata">

**Author:** [@Jesse](https://community.apollographql.com/u/Jesse)\
**Replies:** 5\
**Last updated:** [March 4, 2025, 9:51pm UTC](https://community.apollographql.com/t/whats-the-best-practice-to-migrate-fields-to-a-different-subgraph/8668 "2025-03-04T21:51:34Z")

</div>

hi team, I’m just coming across an issue now when I want to migrate field from my subgraph to a different one. I understand override directive is the suggested approach. However my case is a bit different. The field …

[Next page](https://community.apollographql.com/tag/federation/5.md?match_all_tags=true&page=1&tags%5B%5D=federation)
