houdini-react 1.2.47 → 1.2.49
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.
|
@@ -77466,7 +77466,13 @@ var CacheInternal = class {
|
|
|
77466
77466
|
} else if (!fieldSelection) {
|
|
77467
77467
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
77468
77468
|
if (fnUnmarshal) {
|
|
77469
|
-
|
|
77469
|
+
if (Array.isArray(value)) {
|
|
77470
|
+
fieldTarget[attributeName] = value.map(
|
|
77471
|
+
(v) => fnUnmarshal(v)
|
|
77472
|
+
);
|
|
77473
|
+
} else {
|
|
77474
|
+
fieldTarget[attributeName] = fnUnmarshal(value);
|
|
77475
|
+
}
|
|
77470
77476
|
} else {
|
|
77471
77477
|
fieldTarget[attributeName] = value;
|
|
77472
77478
|
}
|
|
@@ -77456,7 +77456,13 @@ var CacheInternal = class {
|
|
|
77456
77456
|
} else if (!fieldSelection) {
|
|
77457
77457
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
77458
77458
|
if (fnUnmarshal) {
|
|
77459
|
-
|
|
77459
|
+
if (Array.isArray(value)) {
|
|
77460
|
+
fieldTarget[attributeName] = value.map(
|
|
77461
|
+
(v) => fnUnmarshal(v)
|
|
77462
|
+
);
|
|
77463
|
+
} else {
|
|
77464
|
+
fieldTarget[attributeName] = fnUnmarshal(value);
|
|
77465
|
+
}
|
|
77460
77466
|
} else {
|
|
77461
77467
|
fieldTarget[attributeName] = value;
|
|
77462
77468
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.49",
|
|
4
4
|
"description": "The React plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"recast": "^0.23.1",
|
|
44
44
|
"rollup": "^3.7.4",
|
|
45
45
|
"use-deep-compare-effect": "^1.8.1",
|
|
46
|
-
"houdini": "^1.2.
|
|
46
|
+
"houdini": "^1.2.49"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
49
|
"build"
|