# Connectors

**URL:** https://community.apollographql.com/c/connectors/29.md

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

---

## [About the Connectors category](https://community.apollographql.com/t/about-the-connectors-category/8376)

<div class="topic-metadata">

**Author:** [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 11:31pm UTC](https://community.apollographql.com/t/about-the-connectors-category/8376 "2025-02-05T23:31:49Z")

</div>

If you’re integrating data sources into your graph using Apollo Connectors, you’re in the right place! This is the space to discuss best practices, troubleshoot issues, and explore how Connectors can streamline your Grap…

---

## [How to get supergraph compose to work without http method in connect per documentation](https://community.apollographql.com/t/how-to-get-supergraph-compose-to-work-without-http-method-in-connect-per-documentation/9862)

<div class="topic-metadata">

**Author:** [@Srinivas\_Sampath](https://community.apollographql.com/u/Srinivas_Sampath)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 7:26pm UTC](https://community.apollographql.com/t/how-to-get-supergraph-compose-to-work-without-http-method-in-connect-per-documentation/9862 "2026-05-29T19:26:45Z")

</div>

per the v0.4 docs at https://www.apollographql.com/docs/graphos/connectors/mapping/virtual-connectors Virtual connector should compose successfully. However testing it yields unfavourable results. Is there a trick to g…

---

## [Optimizing subscriptions for real-time metadata updates in media heavy graphs](https://community.apollographql.com/t/optimizing-subscriptions-for-real-time-metadata-updates-in-media-heavy-graphs/9725)

<div class="topic-metadata">

**Author:** [@nero99](https://community.apollographql.com/u/nero99)\
**Replies:** 0\
**Last updated:** [February 25, 2026, 3:26am UTC](https://community.apollographql.com/t/optimizing-subscriptions-for-real-time-metadata-updates-in-media-heavy-graphs/9725 "2026-02-25T03:26:11Z")

</div>

Hi everyone, I’m working on a federated graph that handles project state synchronization for a remote collaborative environment. Our team is using pc video editing to generate a high volume of local render previews, and…

---

## [Inconsistent results with nested queries, best practices for testing?](https://community.apollographql.com/t/inconsistent-results-with-nested-queries-best-practices-for-testing/9660)

<div class="topic-metadata">

**Author:** [@heidi477](https://community.apollographql.com/u/heidi477)\
**Replies:** 0\
**Last updated:** [January 22, 2026, 10:55pm UTC](https://community.apollographql.com/t/inconsistent-results-with-nested-queries-best-practices-for-testing/9660 "2026-01-22T22:55:28Z")

</div>

Hi everyone, I’ve been running into some inconsistent results when resolving nested fields in apollo queries. Sometimes certain fields don’t return the expected data, and caching seems to make it even harder to debug. I…

---

## [Inconsistent query responses with frequently updated content, cache or schema issue?](https://community.apollographql.com/t/inconsistent-query-responses-with-frequently-updated-content-cache-or-schema-issue/9654)

<div class="topic-metadata">

**Author:** [@gareth662](https://community.apollographql.com/u/gareth662)\
**Replies:** 0\
**Last updated:** [January 20, 2026, 9:47pm UTC](https://community.apollographql.com/t/inconsistent-query-responses-with-frequently-updated-content-cache-or-schema-issue/9654 "2026-01-20T21:47:40Z")

</div>

Hi everyone, I’m working with a setup where content updates very frequently, and I’ve noticed that some queries return stale or inconsistent results even though the data source has already changed. It feels like caching…

---

## [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…

---

## [Support for nested queries](https://community.apollographql.com/t/support-for-nested-queries/9431)

<div class="topic-metadata">

**Author:** [@dcook](https://community.apollographql.com/u/dcook)\
**Replies:** 6\
**Last updated:** [September 12, 2025, 3:40am UTC](https://community.apollographql.com/t/support-for-nested-queries/9431 "2025-09-12T03:40:52Z")

</div>

Is there a way to create nested queries with Connectors without using entities? For example, for the given schema below, I would like to have byId and search to be nested within the WidgetMethods type for organization a…

---

## [Convert String to Int](https://community.apollographql.com/t/convert-string-to-int/9310)

<div class="topic-metadata">

**Author:** [@Cameron\_Mayfield](https://community.apollographql.com/u/Cameron_Mayfield)\
**Replies:** 1\
**Last updated:** [July 25, 2025, 2:47am UTC](https://community.apollographql.com/t/convert-string-to-int/9310 "2025-07-25T02:47:41Z")

</div>

Our legacy REST service has a field that is returned as a String, but it is actually an Int. Other subgraphs refer to this field as an Int. Is there anyway to convert the type?

---

## [Can I write custom code?](https://community.apollographql.com/t/can-i-write-custom-code/9025)

<div class="topic-metadata">

**Author:** [@ggarnier](https://community.apollographql.com/u/ggarnier)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 7:27pm UTC](https://community.apollographql.com/t/can-i-write-custom-code/9025 "2025-05-08T19:27:49Z")

</div>

Apollo connectors seem to be a great way to map REST APIs. But, in some cases, I need to run some custom code before calling the API, is it possible? Here’s a contrived example, but similar to what I need: I have a quer…

---

## [Is settings the baseUrl via config in @source supported?](https://community.apollographql.com/t/is-settings-the-baseurl-via-config-in-source-supported/8997)

<div class="topic-metadata">

**Author:** [@andywgarcia](https://community.apollographql.com/u/andywgarcia)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 10:24pm UTC](https://community.apollographql.com/t/is-settings-the-baseurl-via-config-in-source-supported/8997 "2025-04-30T22:24:48Z")

</div>

I want to set the baseUrl in the @source directive via an environment config setting because we promote our schema from lower environments to upper environments, and the URL for the API changes in each environment. Howev…

---

## [Best Practices for Optimizing Apollo GraphQL Performance in Production](https://community.apollographql.com/t/best-practices-for-optimizing-apollo-graphql-performance-in-production/8982)

<div class="topic-metadata">

**Author:** [@martinanderson1](https://community.apollographql.com/u/martinanderson1)\
**Replies:** 0\
**Last updated:** [April 26, 2025, 6:01am UTC](https://community.apollographql.com/t/best-practices-for-optimizing-apollo-graphql-performance-in-production/8982 "2025-04-26T06:01:48Z")

</div>

Hi everyone, I’m currently working with Apollo GraphQL in a production environment and wanted to get some insights on best practices for optimizing performance. We’ve seen some slowdowns during peak traffic, especially …

---

## [New Connectors Preview: URL and Batching Enhancements!](https://community.apollographql.com/t/new-connectors-preview-url-and-batching-enhancements/8981)

<div class="topic-metadata">

**Author:** [@dylan](https://community.apollographql.com/u/dylan)\
**Replies:** 0\
**Last updated:** [April 25, 2025, 9:05pm UTC](https://community.apollographql.com/t/new-connectors-preview-url-and-batching-enhancements/8981 "2025-04-25T21:05:16Z")

</div>

We have some fresh enhancements to Connectors now in preview! These primarily build on the “batching” feature for solving N+1 issues—check out Lenny’s post for much more detail on that! These additions are available sta…

---

## [Issue with mutation](https://community.apollographql.com/t/issue-with-mutation/8942)

<div class="topic-metadata">

**Author:** [@HNNWOSU](https://community.apollographql.com/u/HNNWOSU)\
**Replies:** 7\
**Last updated:** [April 24, 2025, 11:45am UTC](https://community.apollographql.com/t/issue-with-mutation/8942 "2025-04-24T11:45:32Z")

</div>

I am constantly getting this error - ==\> Schema change detected for subgraph: listings error: Composition failed. error\[E029\]: Encountered 1 build error while trying to build a supergraph. Caused by: INVALID\_BODY: \[l…

---

## [Do Connectors require GraphOS Router?](https://community.apollographql.com/t/do-connectors-require-graphos-router/8909)

<div class="topic-metadata">

**Author:** [@Alan\_Boshier](https://community.apollographql.com/u/Alan_Boshier)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 1:00pm UTC](https://community.apollographql.com/t/do-connectors-require-graphos-router/8909 "2025-04-14T13:00:32Z")

</div>

Really simple question - in order to use REST API connectors in a subgraph, is it required to use the GraphOS router, or can the same thing be achieved with a custom apollo federated gateway built using the @apollo/gate…

---

## [Use a header as an object key in Apollo Connector Mapping?](https://community.apollographql.com/t/use-a-header-as-an-object-key-in-apollo-connector-mapping/8853)

<div class="topic-metadata">

**Author:** [@andywgarcia](https://community.apollographql.com/u/andywgarcia)\
**Replies:** 7\
**Last updated:** [April 8, 2025, 9:46pm UTC](https://community.apollographql.com/t/use-a-header-as-an-object-key-in-apollo-connector-mapping/8853 "2025-04-08T21:46:01Z")

</div>

I need to use a header value AcceptLanguage as a reference for a key value in a mapping response. Given the following REST response { "data": { "item": { "details": { "latest": { "variatio…

---

## [Preview: Connectors N+1 batch support](https://community.apollographql.com/t/preview-connectors-n-1-batch-support/8806)

<div class="topic-metadata">

**Author:** [@lennyburdette](https://community.apollographql.com/u/lennyburdette)\
**Replies:** 1\
**Last updated:** [April 4, 2025, 5:32pm UTC](https://community.apollographql.com/t/preview-connectors-n-1-batch-support/8806 "2025-04-04T17:32:51Z")

</div>

We’re hard at work on a solution for N+1 queries, which frequently occur in federated GraphQL APIs because of how entities work. Today, Connectors support single-item entity resolvers with the entity: true option, but we…

---

## [REST Connectors to call other GraphQL APIs?](https://community.apollographql.com/t/rest-connectors-to-call-other-graphql-apis/8625)

<div class="topic-metadata">

**Author:** [@Jonathan\_Wondrusch](https://community.apollographql.com/u/Jonathan_Wondrusch)\
**Replies:** 5\
**Last updated:** [April 4, 2025, 5:17pm UTC](https://community.apollographql.com/t/rest-connectors-to-call-other-graphql-apis/8625 "2025-04-04T17:17:35Z")

</div>

Is it possible to use REST connectors to make calls to other GraphQL APIs? I was attempting experimenting with this, and conceptually it seems like it should work, but I’m repeatedly running into Invalid body errors whe…

---

## [Does the map method work in the url?](https://community.apollographql.com/t/does-the-map-method-work-in-the-url/8747)

<div class="topic-metadata">

**Author:** [@andy.vajda](https://community.apollographql.com/u/andy.vajda)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 12:57pm UTC](https://community.apollographql.com/t/does-the-map-method-work-in-the-url/8747 "2025-03-21T12:57:05Z")

</div>

I’m attempting to add a connector to an oData endpoint, and need to craft a URL that includes a filter with multiple “OR” statements based on an input \[String\]. Needs to look like: /product?filter=(name eq “product1” O…

---

## [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…

---

## [Sharing enums across connector subgraphs?](https://community.apollographql.com/t/sharing-enums-across-connector-subgraphs/8641)

<div class="topic-metadata">

**Author:** [@Jonathan\_Wondrusch](https://community.apollographql.com/u/Jonathan_Wondrusch)\
**Replies:** 2\
**Last updated:** [March 3, 2025, 10:36pm UTC](https://community.apollographql.com/t/sharing-enums-across-connector-subgraphs/8641 "2025-03-03T22:36:59Z")

</div>

If you have many Connector subgraphs that might rely on the same sets of enums (e.g. Country, Currency) that are being received from REST APIs, what is the recommended way to “share” those across Connector subgraphs? It…

---

## [Our Journey to Apollo Connectors](https://community.apollographql.com/t/our-journey-to-apollo-connectors/8568)

<div class="topic-metadata">

**Author:** [@lennyburdette](https://community.apollographql.com/u/lennyburdette)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 2:22pm UTC](https://community.apollographql.com/t/our-journey-to-apollo-connectors/8568 "2025-02-19T14:22:25Z")

</div>

From day one, Apollo has been about making APIs truly declarative—from the client to the schema and all the way through implementation. With Apollo Connectors, that vision now extends to REST APIs, allowing teams to orch…

---

## [API Orchestration with Connectors: Thinking in Entities](https://community.apollographql.com/t/api-orchestration-with-connectors-thinking-in-entities/8565)

<div class="topic-metadata">

**Author:** [@watson](https://community.apollographql.com/u/watson)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 12:28am UTC](https://community.apollographql.com/t/api-orchestration-with-connectors-thinking-in-entities/8565 "2025-02-19T00:28:49Z")

</div>

Hey everyone, I just published a new blog post on the Apollo blog about a fresh approach to API orchestration using Connectors—a new concept that makes working with APIs more intuitive by focusing on entities rather tha…
