Skip to content

Support @apollo/subgraph 2.15 and @graphql-tools/utils 12 (dev) - #7393

Open
mjfwebb wants to merge 3 commits into
devfrom
dev-apollo-subgraph-2.15
Open

mjfwebb wants to merge 3 commits into
devfrom
dev-apollo-subgraph-2.15

Conversation

@mjfwebb

@mjfwebb mjfwebb commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

getSubgraphSchema() throws on a fresh install of our released versions (7.6.4 and 5.12.15). Our ^2.2.3 range now pulls in @apollo/subgraph 2.15, which removed the { typeDefs, resolvers } input we pass it:

TypeError: doc.definitions is not iterable
  • Pass buildSubgraphSchema an array of modules instead.
  • Bump @graphql-tools/utils to ^12.0.0, so our IResolvers type matches the one from @graphql-tools/schema 10.1. It's ^12.0.0 rather than ^12.1.0 as on lts because 12.1.0 is still inside the one-week age gate.
  • Update three federation schema snapshots. 2.15 prints the schema slightly differently, and the changeset lists what changed.

I ran getSubgraphSchema() from a packed build against @apollo/subgraph 2.14.4 and 2.15.1, and it works with both.

Complexity

Complexity: Low

Issue

Unblocks the lock file maintenance PR #7371, and replaces the Renovate security PR #7388 (GHSA-7mx3-vvmw-hjmv). The lts version is #7392.

Checklist

  • Documentation has been updated
  • TCK tests have been updated
  • Integration tests have been updated
  • Example applications have been updated
  • New files have copyright header
  • CLA (https://neo4j.com/developer/cla/) has been signed

@mjfwebb
mjfwebb requested a review from a team as a code owner October 20, 2026 15:44
@mjfwebb
mjfwebb requested a review from a-alle October 20, 2026 15:44
@changeset-bot

changeset-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5c07ee4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@neo4j/graphql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mjfwebb
mjfwebb requested review from risset and removed request for a-alle October 20, 2026 15:45
@mjfwebb mjfwebb changed the title Support @apollo/subgraph 2.15 and @graphql-tools/utils 12 Support @apollo/subgraph 2.15 and @graphql-tools/utils 12 (dev) Oct 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant