@graphql-tools/merge 6.2.12-alpha-2afd491c.0 → 6.2.12
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/es5/index.cjs.js +1 -2
- package/es5/index.cjs.js.map +1 -1
- package/es5/index.esm.js +1 -2
- package/es5/index.esm.js.map +1 -1
- package/es5/package.json +3 -3
- package/index.cjs.js +1 -2
- package/index.cjs.js.map +1 -1
- package/index.esm.js +1 -2
- package/index.esm.js.map +1 -1
- package/package.json +3 -3
package/es5/index.cjs.js
CHANGED
|
@@ -857,8 +857,7 @@ function mergeOperationTypes(opNodeList, existingOpNodeList) {
|
|
|
857
857
|
function mergeSchemaDefs(node, existingNode, config) {
|
|
858
858
|
if (existingNode) {
|
|
859
859
|
return {
|
|
860
|
-
kind:
|
|
861
|
-
node.kind === graphql.Kind.SCHEMA_DEFINITION ||
|
|
860
|
+
kind: node.kind === graphql.Kind.SCHEMA_DEFINITION ||
|
|
862
861
|
existingNode.kind === graphql.Kind.SCHEMA_DEFINITION
|
|
863
862
|
? graphql.Kind.SCHEMA_DEFINITION
|
|
864
863
|
: graphql.Kind.SCHEMA_EXTENSION,
|