-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract ApolloServerPluginSchemaReporting from EngineReportingAgent
Inside the plugin, merge the reportingLoop function into the SchemaReporter object so that we can make SchemaReporter.stop() call clearTimeout; the previous iteration would keep a stopping server running until the current timeout finished. The schema reporting test code in plugin.test.ts basically just tested the interface between EngineReportingAgent and the plugin; because this interface no longer exists the tests are just deleted instead of salvaged.
- Loading branch information
Showing
10 changed files
with
348 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.