upgrade graphql-tools to v6 (#6701)

* upgrade to v6

* remove old graphql-tools package

Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com>
This commit is contained in:
Yaacov Rydzinski
2020-05-25 02:35:45 -04:00
committed by GitHub
parent ddf99a1a43
commit f56049b34b
5 changed files with 130 additions and 42 deletions

View File

@@ -10987,8 +10987,8 @@ describe('ParseGraphQLServer', () => {
httpServer = http.createServer(expressApp);
parseGraphQLServer = new ParseGraphQLServer(parseServer, {
graphQLPath: '/graphql',
graphQLCustomTypeDefs: ({ autoSchema, mergeSchemas }) =>
mergeSchemas({ schemas: [autoSchema] }),
graphQLCustomTypeDefs: ({ autoSchema, stitchSchemas }) =>
stitchSchemas({ subschemas: [autoSchema] }),
});
parseGraphQLServer.applyGraphQL(expressApp);