-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update @apollo/subgraph CHANGELOG.md entry for 2.3.0-beta.2
#2386
Update @apollo/subgraph CHANGELOG.md entry for 2.3.0-beta.2
#2386
Conversation
…n that using @tag with the new location requires using the federation 2.3 spec.
👷 Deploy request for apollo-federation-docs pending review.Visit the deploys page to approve it
|
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably also helpful to update the PR description to reference the issue
subgraph-js/CHANGELOG.md
Outdated
@@ -9,7 +9,7 @@ | |||
This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found [here](https://github.com/apollographql/federation/blob/version-0.x/subgraph-js/CHANGELOG.md) on the `version-0.x` branch of this repo. | |||
|
|||
## 2.3.0-beta.2 | |||
- `@tag` directive support for the `SCHEMA` location [PR #2314](https://github.com/apollographql/federation/pull/2314). | |||
- `@tag` directive support for the `SCHEMA` location. This has been added to the 2.3 version of the federation spec, and you must declare usage of this spec version in your subgraph to use this functionality. [PR #2314](https://github.com/apollographql/federation/pull/2314). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we be extra clear on the action item that's required for users? (you need to bump your @link
federation spec version to v2.3 in your type definitions)
Providing a snippet certainly would remove any uncertainty.
@link(url: "https://specs.apollo.dev/federation/v2.3", import: [...])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@trevor-scheer Makes sense, made it more explicit in the entry. (I also removed the import
since it's not strictly needed to run into this issue.)
0e8e1ae
to
388f5ec
Compare
We've seen folks accidentally forgetting to bump their federation spec to
v2.3
when using the latest@tag
directive definition that includesSCHEMA
, which will result in an error frombuildSubgraphSchema()
(see #2375 ). This PR updates theCHANGELOG.md
to explicitly state this.