Releases: apollographql/federation
@apollo/[email protected]
Patch Changes
-
Revert change to @composeDirective definition to specify nullable argument value. (#3283)
We cannot fix the definition as that would break customers using older versions of
subgraph-js
. Our validations are already verifying that the values are specified.
@apollo/[email protected]
Patch Changes
-
Improve error messages when @composeDirective arguments are NULL or empty strings. (#3283)
Previous message on undefined/null argument value
Cannot read properties of undefined (reading '0')
New message
Argument to @composeDirective in subgraph "${sg.name}" cannot be NULL or an empty String
-
Updated dependencies [
28c08bef6e691aefc6ed07c0e7057f9cd803b317
]:- @apollo/[email protected]
- @apollo/[email protected]
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
- Updated dependencies [
7799ad1717becf15fb0e82f89619f2ec8a24b4d4
,b26794c5724ef23d1f0fd45a40aee3d301557489
]:- @apollo/[email protected]
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
- Updated dependencies [
7799ad1717becf15fb0e82f89619f2ec8a24b4d4
,b26794c5724ef23d1f0fd45a40aee3d301557489
,51bed5be49d8e87adae59f568315c9e3488a91e0
]:- @apollo/[email protected]
- @apollo/[email protected]
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
-
Fix bug in composition where, when a field's type in a subgraph is a subtype of the field's type in the supergraph, the satisfiability validation spuriously succeeds/errors. (#3277)
-
Updated dependencies [
7799ad1717becf15fb0e82f89619f2ec8a24b4d4
,b26794c5724ef23d1f0fd45a40aee3d301557489
]:- @apollo/[email protected]
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
- Updated dependencies [
7799ad1717becf15fb0e82f89619f2ec8a24b4d4
,b26794c5724ef23d1f0fd45a40aee3d301557489
,51bed5be49d8e87adae59f568315c9e3488a91e0
]:- @apollo/[email protected]
- @apollo/[email protected]
- @apollo/[email protected]
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
-
fix: make composeDirective argument non-nullable. (#3278)
Per our docs,
@composeDirective
requires non-nullable value to be passed as an argument.Our validations were checking for valid values (it has to be a string that starts with
@
),
but the generated schema was incorrectly specifying that the argument was nullable. -
Adding new CompositionOption
maxValidationSubgraphPaths
. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. (#3254)
@apollo/[email protected]
DO NOT USE: There is a breaking change in @composeDirective
definition. Use 2.11.2 instead.
Patch Changes
-
Adding new CompositionOption
maxValidationSubgraphPaths
. This value represents the maximum number of SubgraphPathInfo objects that may exist in a ValidationTraversal when checking for satisfiability. Setting this value can help composition error before running out of memory. Default is 1,000,000. (#3254) -
Fix bug in composition where, when a field's type in a subgraph is a subtype of the field's type in the supergraph, the satisfiability validation spuriously succeeds/errors. (#3277)
-
Updated dependencies [
7799ad1717becf15fb0e82f89619f2ec8a24b4d4
,b26794c5724ef23d1f0fd45a40aee3d301557489
,51bed5be49d8e87adae59f568315c9e3488a91e0
]:- @apollo/[email protected]
- @apollo/[email protected]
@apollo/[email protected]
Minor Changes
- Federation 2.12 and Connect 0.3 (#3276)
Patch Changes
- Updated dependencies [
468f27842608f4e390cfc88bc7e6b4b0945f95ff
,b734ea04d118db09cf6077fdd968c8f04a96327a
]:- @apollo/[email protected]
@apollo/[email protected]
Minor Changes
- Federation 2.12 and Connect 0.3 (#3276)
Patch Changes
- Updated dependencies [
468f27842608f4e390cfc88bc7e6b4b0945f95ff
,b734ea04d118db09cf6077fdd968c8f04a96327a
]:- @apollo/[email protected]
- @apollo/[email protected]