@graphql-tools/merge 6.2.8-alpha-1cef0f11.0 → 6.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ Check API Reference for more information about this package;
2
+ https://www.graphql-tools.com/docs/api/modules/merge
3
+
4
+ You can also learn more about Schema Merging in this chapter;
5
+ https://www.graphql-tools.com/docs/schema-merging
6
+
package/es5/README.md ADDED
@@ -0,0 +1,6 @@
1
+ Check API Reference for more information about this package;
2
+ https://www.graphql-tools.com/docs/api/modules/merge
3
+
4
+ You can also learn more about Schema Merging in this chapter;
5
+ https://www.graphql-tools.com/docs/schema-merging
6
+
package/es5/index.cjs.js CHANGED
@@ -925,7 +925,7 @@ function mergeGraphQLTypes(types, config) {
925
925
  type = mergeTypeDefs(type);
926
926
  }
927
927
  if (graphql.isSchema(type)) {
928
- return graphql.parse(utils.printSchemaWithDirectives(type));
928
+ return utils.getDocumentNodeFromSchema(type);
929
929
  }
930
930
  else if (isStringTypes(type) || isSourceTypes(type)) {
931
931
  return graphql.parse(type);