Skip to content

fix: schema contract composition applying @inaccessible on the federation types ContextArgument and FieldValue on the supergraph SDL#7967

Merged
n1ru4l merged 1 commit intomainfrom
fix-composition-contract-types
Apr 10, 2026
Merged

fix: schema contract composition applying @inaccessible on the federation types ContextArgument and FieldValue on the supergraph SDL#7967
n1ru4l merged 1 commit intomainfrom
fix-composition-contract-types

Conversation

@n1ru4l
Copy link
Copy Markdown
Contributor

@n1ru4l n1ru4l commented Apr 10, 2026

Background

Description

Fix schema contract composition applying @inaccessible on the federation types ContextArgument and FieldValue on the supergraph SDL.

This mitigates the following error in apollo-router upon processing the supergraph:

could not create router: Api error(s): The supergraph schema failed to produce a valid API schema: The following errors occurred:
  - Core feature type `join__ContextArgument` cannot use @inaccessible.
  - Core feature type `join__FieldValue` cannot use @inaccessible.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 11.0.3-alpha-20260410101040-de9376c4474299c8854fd76d0e6e300a9e240e5c npm ↗︎ unpkg ↗︎

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the @theguild/federation-composition dependency to version 0.22.2 across multiple packages and services to resolve a schema contract composition issue where @inaccessible was incorrectly applied to federation types. A review comment identifies that the changeset should be updated to include the @graphql-hive/cli package scope, adhering to the repository style guide for changes affecting library packages.

Comment thread .changeset/deep-lies-happen.md
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/arm64

Image Tag: de9376c4474299c8854fd76d0e6e300a9e240e5c

@n1ru4l n1ru4l marked this pull request as ready for review April 10, 2026 10:29
@n1ru4l n1ru4l merged commit 9708f71 into main Apr 10, 2026
25 checks passed
@n1ru4l n1ru4l deleted the fix-composition-contract-types branch April 10, 2026 10:44
n1ru4l added a commit that referenced this pull request Apr 10, 2026
…ration types `ContextArgument` and `FieldValue` on the supergraph SDL (#7967)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant