@graphql-tools/mock 8.6.10-alpha-565a0007.0 → 8.6.10
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/index.js +1 -6
- package/index.mjs +1 -6
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -805,12 +805,7 @@ function addMocksToSchema({ schema: schema$1, store: maybeStore, mocks, typePoli
|
|
|
805
805
|
}
|
|
806
806
|
},
|
|
807
807
|
});
|
|
808
|
-
return resolvers
|
|
809
|
-
? schema.addResolversToSchema({
|
|
810
|
-
schema: schemaWithMocks,
|
|
811
|
-
resolvers: resolvers,
|
|
812
|
-
})
|
|
813
|
-
: schemaWithMocks;
|
|
808
|
+
return resolvers ? schema.addResolversToSchema(schemaWithMocks, resolvers) : schemaWithMocks;
|
|
814
809
|
}
|
|
815
810
|
|
|
816
811
|
/**
|
package/index.mjs
CHANGED
|
@@ -799,12 +799,7 @@ function addMocksToSchema({ schema, store: maybeStore, mocks, typePolicies, reso
|
|
|
799
799
|
}
|
|
800
800
|
},
|
|
801
801
|
});
|
|
802
|
-
return resolvers
|
|
803
|
-
? addResolversToSchema({
|
|
804
|
-
schema: schemaWithMocks,
|
|
805
|
-
resolvers: resolvers,
|
|
806
|
-
})
|
|
807
|
-
: schemaWithMocks;
|
|
802
|
+
return resolvers ? addResolversToSchema(schemaWithMocks, resolvers) : schemaWithMocks;
|
|
808
803
|
}
|
|
809
804
|
|
|
810
805
|
/**
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/mock",
|
|
3
|
-
"version": "8.6.10
|
|
3
|
+
"version": "8.6.10",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-tools/schema": "
|
|
11
|
-
"@graphql-tools/utils": "8.6.
|
|
10
|
+
"@graphql-tools/schema": "8.3.12",
|
|
11
|
+
"@graphql-tools/utils": "8.6.11",
|
|
12
12
|
"fast-json-stable-stringify": "^2.1.0",
|
|
13
13
|
"tslib": "~2.4.0"
|
|
14
14
|
},
|