Skip to content

fix: include default deprecation reason in the composed supergraph#3377

Closed
dariuszkuc wants to merge 4 commits intomainfrom
deprecation_reason
Closed

fix: include default deprecation reason in the composed supergraph#3377
dariuszkuc wants to merge 4 commits intomainfrom
deprecation_reason

Conversation

@dariuszkuc
Copy link
Copy Markdown
Member

@dariuszkuc dariuszkuc commented Feb 9, 2026

@deprecated reason used to be optional so if a subgraph does not specify the reason, it is omitted from the supergraph schema. Reason is no longer optional so we should always include it (even if it has a default value).

`@deprecated` reason used to be optional in the past and as such it was omitted from the supergraph schema. [Reason is no longer optional](graphql/graphql-spec#1040) so we should always include it (even if it is a default).
@dariuszkuc dariuszkuc requested a review from a team as a code owner February 9, 2026 21:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 9, 2026

🦋 Changeset detected

Latest commit: 56640ca

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

This PR includes changesets to release 7 packages
Name Type
@apollo/composition Patch
@apollo/federation-internals Patch
@apollo/gateway Patch
@apollo/query-planner Patch
@apollo/query-graphs Patch
@apollo/subgraph Patch
apollo-federation-integration-testsuite 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

@apollo-librarian
Copy link
Copy Markdown

apollo-librarian bot commented Feb 9, 2026

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 30c8aaf20439f0e45fe86a77
Build Logs: View logs

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Feb 9, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dariuszkuc
Copy link
Copy Markdown
Member Author

Current behavior is correct

@dariuszkuc dariuszkuc closed this Feb 10, 2026
@dariuszkuc dariuszkuc deleted the deprecation_reason branch February 10, 2026 19:53
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