@graphql-mesh/runtime 0.93.1 → 0.93.2
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/cjs/get-mesh.js +1 -5
- package/esm/get-mesh.js +1 -5
- package/package.json +1 -1
package/cjs/get-mesh.js
CHANGED
|
@@ -117,11 +117,6 @@ async function getMesh(options) {
|
|
|
117
117
|
setFetchFn(fetchFn);
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
|
-
{
|
|
121
|
-
onParse({ setParseFn }) {
|
|
122
|
-
setParseFn(utils_1.parseWithCache);
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
120
|
...additionalEnvelopPlugins,
|
|
126
121
|
];
|
|
127
122
|
const wrappedFetchFn = wrapFetchWithPlugins(initialPluginList);
|
|
@@ -191,6 +186,7 @@ async function getMesh(options) {
|
|
|
191
186
|
const plugins = [
|
|
192
187
|
(0, core_1.useEngine)({
|
|
193
188
|
validate: graphql_1.validate,
|
|
189
|
+
parse: utils_1.parseWithCache,
|
|
194
190
|
specifiedRules: graphql_1.specifiedRules,
|
|
195
191
|
}),
|
|
196
192
|
(0, useSubschema_js_1.useSubschema)(subschema),
|
package/esm/get-mesh.js
CHANGED
|
@@ -113,11 +113,6 @@ export async function getMesh(options) {
|
|
|
113
113
|
setFetchFn(fetchFn);
|
|
114
114
|
},
|
|
115
115
|
},
|
|
116
|
-
{
|
|
117
|
-
onParse({ setParseFn }) {
|
|
118
|
-
setParseFn(parseWithCache);
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
116
|
...additionalEnvelopPlugins,
|
|
122
117
|
];
|
|
123
118
|
const wrappedFetchFn = wrapFetchWithPlugins(initialPluginList);
|
|
@@ -187,6 +182,7 @@ export async function getMesh(options) {
|
|
|
187
182
|
const plugins = [
|
|
188
183
|
useEngine({
|
|
189
184
|
validate,
|
|
185
|
+
parse: parseWithCache,
|
|
190
186
|
specifiedRules,
|
|
191
187
|
}),
|
|
192
188
|
useSubschema(subschema),
|