Fix unexpected composition error about @shareable field when @external is on a type in a fed1 schema (one without @link) [PR #2343](apollographql/federation#2343).
feat: Expose document representation of sub-query request within GraphQLDataSourceProcessOptions so that it is available to RemoteGraphQLDataSource.process and RemoteGraphQLDataSource.willSendRequest by @theJC in apollographql/federation#1878
Fix unexpected composition error about @shareable field when @external is on a type in a fed1 schema (one without @link) [PR #2343](apollographql/federation#2343).
Adds support for the 0.3 version of the tag spec, which adds @tag directive support for the SCHEMA location [PR #2314](apollographql/federation#2314).
Error on composition when a @shareable field runtime types don't intersect between subgraphs: a @shareable field
must resolve the same way in all the subgraphs, but this is impossible if the concrete runtime types have no
intersection at all [PR #1556](apollographql/federation#1556).
BREAKING: composition now rejects @override on interface fields. The @override directive was not
meant to be supported on interfaces and was not having any impact whatsoever. If an existing subgraph does have a
@override on an interface field, this will now be rejected, but the @override can simply and safely be removed
since it previously was ignored.
BREAKING: Disable exposing full document to sub-query by default (introduced 2.1.0):
This change decreases memory consumption in general (which is the reason for disabling this by
default), but users that have custom code making use of GraphQLDataSourceProcessOptions.document
will now need to explicitly set GatewayConfig.queryPlannerConfig.exposeDocumentNodeInFetchNode.
BREAKING: composition now rejects @shareable on interface fields. The @shareable directive is about
controlling if multiple subgraphs can resolve a particular field, and as interface field are never directly resolved
(it's their implementation that are), having @shareable on interface fields is not completely meaningful and
was never meant to be supported. If an existing subgraph does have a @shareable on an interface field, this
will now be rejected, but the @shareable can simply and safely be removed since it previously was ignored.
Allows @shareable to be repeatable so it can be allowed on both a type definition and its extensions [PR #2175](apollographql/federation#2175).
Note that this require the use of the new 2.2 version of the federation spec introduced in this change.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @apollo/gateway from 2.0.4 to 2.3.0.
Release notes
Sourced from
@apollo/gateway
's releases.... (truncated)
Changelog
Sourced from
@apollo/gateway
's changelog.... (truncated)
Commits
5beba1d
release: on branch main (beta) (#2345)6d4531e
Add missing input rewrites in some case of@interfaceObject
(#2346)282c563
Fix fed1 schema upgraded when@external
is on a type. (#2343)057fc70
release: 2.3.0-beta.3 (beta) (#2341)f566120
Rewrites gateway post-processing (#2335)2afa242
WIP error paths from downstream errors (#2304)bed7dbf
Release 2.3.0-beta.2 (#2323)9fcd2e2
Changes for using npm workspaces (#2322)dfcbf39
changesets and CHANGELOG updates (#2321)88ae498
Improve generation of plans once all path options are computed (#2316)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)