You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specify this option as a fallback if Uplink fails to provide a polling interval. This will also take effect if `fallbackPollIntervalInMs` is greater than the Uplink defined interval.
Copy file name to clipboardExpand all lines: gateway-js/CHANGELOG.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The
6
6
7
7
> The changes noted within this `vNEXT` section have not been released yet. New PRs and commits which introduce changes should include an entry in this `vNEXT` section as part of their development. When a release is being prepared, a new header will be (manually) created below and the appropriate changes within that release will be moved into the new section.
8
8
9
-
- Correctly detect promises wrapped by proxies in entities resolver
9
+
- Respect the `minDelaySeconds` returning from Uplink when polling and retrying to fetch the supergraph schema from Uplink [PR #1564](https://github.com/apollographql/federation/pull/1564)
10
+
- Remove the previously deprecated `experimental_pollInterval` config option and deprecate `pollIntervalInMs` in favour of `fallbackPollIntervalInMs` (for managed mode only). [PR #1564](https://github.com/apollographql/federation/pull/1564)
11
+
- Correctly detect promises wrapped by proxies in entities resolver [PR #1584](https://github.com/apollographql/federation/pull/1584)
'The `schemaConfigDeliveryEndpoint` option is deprecated and will be removed in a future version of `@apollo/gateway`. Please migrate to the equivalent (array form) `uplinkEndpoints` configuration option.',
445
445
);
446
446
});
447
-
448
-
it('warns with `experimental_pollInterval` option set',async()=>{
449
-
newApolloGateway({
450
-
experimental_pollInterval: 10000,
451
-
logger,
452
-
});
453
-
454
-
expect(logger.warn).toHaveBeenCalledWith(
455
-
'The `experimental_pollInterval` option is deprecated and will be removed in a future version of `@apollo/gateway`. Please migrate to the equivalent `pollIntervalInMs` configuration option.',
'The `experimental_pollInterval` option is deprecated and will be removed in a future version of `@apollo/gateway`. Please migrate to the equivalent `pollIntervalInMs` configuration option.',
295
+
'The `pollIntervalInMs` option is deprecated and will be removed in a future version of `@apollo/gateway`. '+
296
+
'Please migrate to the equivalent `fallbackPollIntervalInMs` configuration option. '+
297
+
'The poll interval is now defined by Uplink, this option will only be used if it is greater than the value defined by Uplink or as a fallback.',
292
298
);
293
299
}
294
300
}
@@ -406,7 +412,7 @@ export class ApolloGateway implements GraphQLService {
0 commit comments