Since using the monolith package graphql-tools is deprecated and @graphql-tools/schema stopped exporting buildSchemaFromTypeDefinitions we replace it's usage with buildSchema from graphql. This saves time when installing and reduces the disk usage in node_modules.
Since using the monolith package
graphql-tools
is deprecated and@graphql-tools/schema
stopped exportingbuildSchemaFromTypeDefinitions
we replace it's usage withbuildSchema
fromgraphql
. This saves time when installing and reduces the disk usage innode_modules
.References:
Closes https://github.com/SurveyMonkey/graphql-ergonomock/pull/144