-
Notifications
You must be signed in to change notification settings - Fork 2k
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
apollo-server-core: Update schema reporting plugin to support gateways #5187
Commits on Jul 22, 2021
-
Add optional onSchemaLoadOrUpdate method to GraphQLService, to be use…
…d for getting the core schema for gateways that have it (also clarify that onSchemaChange provides the API schema)
Configuration menu - View commit details
-
Copy full SHA for 4e10622 - Browse repository at this point
Copy the full SHA 4e10622View commit details -
Configuration menu - View commit details
-
Copy full SHA for c89a9b9 - Browse repository at this point
Copy the full SHA c89a9b9View commit details -
Consolidate schema tracking logic (updates and notifications) into a …
…SchemaManager class for both gateway and non-gateway case, and implement schemaDidLoadOrUpdate handling
Configuration menu - View commit details
-
Copy full SHA for 31a3380 - Browse repository at this point
Copy the full SHA 31a3380View commit details -
Update ApolloServerPluginSchemaReporting to use the new schemaDidLoad…
…OrUpdate hook to enable gateway schema reporting of the core schema
Configuration menu - View commit details
-
Copy full SHA for 3bc2da0 - Browse repository at this point
Copy the full SHA 3bc2da0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0bdb18 - Browse repository at this point
Copy the full SHA f0bdb18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c714ae - Browse repository at this point
Copy the full SHA 4c714aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe150cf - Browse repository at this point
Copy the full SHA fe150cfView commit details -
Change TODO about gateway version message update into FIXME, and fix …
…bug in error message (the hook's name was wrong)
Configuration menu - View commit details
-
Copy full SHA for 530bb61 - Browse repository at this point
Copy the full SHA 530bb61View commit details -
Throw a specific error subclass when the gateway is too old in Schema…
…Manager.onSchemaLoadOrUpdate() so that we can less-fragily try/catch
Configuration menu - View commit details
-
Copy full SHA for f958c6b - Browse repository at this point
Copy the full SHA f958c6bView commit details -
Accept overrideReportedSchema for schema reporting in gateways as the…
… core schema instead of throwing
Configuration menu - View commit details
-
Copy full SHA for 64e1467 - Browse repository at this point
Copy the full SHA 64e1467View commit details -
Change schemaDidLoadOrUpdate() hook to early return after executing o…
…nce if the schema is overridden
Configuration menu - View commit details
-
Copy full SHA for b7e4345 - Browse repository at this point
Copy the full SHA b7e4345View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ca2af - Browse repository at this point
Copy the full SHA d3ca2afView commit details -
Update GatewayInterface.onSchemaChange to be optional, in preparation…
… for it eventually being removed
Configuration menu - View commit details
-
Copy full SHA for 4921428 - Browse repository at this point
Copy the full SHA 4921428View commit details -
Re-enable test on serverless that checks whether gateway unsubscribe …
…is called after stop using a workaround
Configuration menu - View commit details
-
Copy full SHA for 2e57079 - Browse repository at this point
Copy the full SHA 2e57079View commit details -
Throw when SchemaManager.onSchemaLoadOrUpdate() is called before Sche…
…maManager.start()
Configuration menu - View commit details
-
Copy full SHA for 8e4e86a - Browse repository at this point
Copy the full SHA 8e4e86aView commit details -
Add FIXME to update error message in SchemaManager.onSchemaLoadOrUpda…
…te() to include needed gateway version
Configuration menu - View commit details
-
Copy full SHA for 5c3a1f0 - Browse repository at this point
Copy the full SHA 5c3a1f0View commit details -
Keep stacktrace info when logging errors in SchemaManager.processSche…
…maLoadOrUpdateEvent()
Configuration menu - View commit details
-
Copy full SHA for 1ff88b8 - Browse repository at this point
Copy the full SHA 1ff88b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3249b - Browse repository at this point
Copy the full SHA 0e3249bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2535449 - Browse repository at this point
Copy the full SHA 2535449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95deff6 - Browse repository at this point
Copy the full SHA 95deff6View commit details -
Clarify docs for
schemaDidLoadOrUpdate
to note that not providing a…… gateway won't result in failure
Configuration menu - View commit details
-
Copy full SHA for 0ac2944 - Browse repository at this point
Copy the full SHA 0ac2944View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8b6d2 - Browse repository at this point
Copy the full SHA bb8b6d2View commit details -
Add warning to ApolloServerBase.stop() to indicate that it may not be…
… called concurrently with start() (or before start()).
Configuration menu - View commit details
-
Copy full SHA for 4681a98 - Browse repository at this point
Copy the full SHA 4681a98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 341af1f - Browse repository at this point
Copy the full SHA 341af1fView commit details -
Update CHANGELOG.md to state that schema reporting shouldn't be enabl…
…e for gateways yet, because Apollo Studio does not support it.
Configuration menu - View commit details
-
Copy full SHA for a498b4a - Browse repository at this point
Copy the full SHA a498b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5241eb - Browse repository at this point
Copy the full SHA f5241ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ce0f8 - Browse repository at this point
Copy the full SHA 19ce0f8View commit details