@graphql-mesh/grpc 0.95.8-alpha-20230928020617-2ccb4a32b → 0.95.8
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/index.js +3 -1
- package/esm/index.js +3 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -311,7 +311,9 @@ class GrpcHandler {
|
|
|
311
311
|
for (const enumAnnotation of enumAnnotations) {
|
|
312
312
|
const enumSerializedValue = enumAnnotation.value;
|
|
313
313
|
if (enumSerializedValue) {
|
|
314
|
-
|
|
314
|
+
const serializedValue = JSON.parse(enumSerializedValue);
|
|
315
|
+
value.value = serializedValue;
|
|
316
|
+
type._valueLookup.set(serializedValue, value);
|
|
315
317
|
}
|
|
316
318
|
}
|
|
317
319
|
}
|
package/esm/index.js
CHANGED
|
@@ -308,7 +308,9 @@ export default class GrpcHandler {
|
|
|
308
308
|
for (const enumAnnotation of enumAnnotations) {
|
|
309
309
|
const enumSerializedValue = enumAnnotation.value;
|
|
310
310
|
if (enumSerializedValue) {
|
|
311
|
-
|
|
311
|
+
const serializedValue = JSON.parse(enumSerializedValue);
|
|
312
|
+
value.value = serializedValue;
|
|
313
|
+
type._valueLookup.set(serializedValue, value);
|
|
312
314
|
}
|
|
313
315
|
}
|
|
314
316
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/grpc",
|
|
3
|
-
"version": "0.95.8
|
|
3
|
+
"version": "0.95.8",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@graphql-mesh/cross-helpers": "^0.4.1",
|
|
7
|
-
"@graphql-mesh/store": "0.95.6
|
|
8
|
-
"@graphql-mesh/types": "0.95.6
|
|
9
|
-
"@graphql-mesh/utils": "0.95.6
|
|
7
|
+
"@graphql-mesh/store": "^0.95.6",
|
|
8
|
+
"@graphql-mesh/types": "^0.95.6",
|
|
9
|
+
"@graphql-mesh/utils": "^0.95.6",
|
|
10
10
|
"@graphql-tools/utils": "^9.2.1 || ^10.0.0",
|
|
11
11
|
"graphql": "*",
|
|
12
12
|
"tslib": "^2.4.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@ardatan/grpc-reflection-js": "^0.0.2",
|
|
16
|
-
"@graphql-mesh/string-interpolation": "0.5.2
|
|
16
|
+
"@graphql-mesh/string-interpolation": "^0.5.2",
|
|
17
17
|
"@grpc/grpc-js": "^1.1.7",
|
|
18
18
|
"@grpc/proto-loader": "^0.7.8",
|
|
19
19
|
"globby": "^11.1.0",
|