@cabloy/zod-query 2.1.11 → 2.1.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/dist/index.js +4 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -170,6 +170,10 @@ function __parseString(inst, parse, payload, _) {
|
|
|
170
170
|
// ignore upload file
|
|
171
171
|
return payload;
|
|
172
172
|
}
|
|
173
|
+
if (payload.value && payload.value instanceof Date) {
|
|
174
|
+
// ignore date
|
|
175
|
+
return payload;
|
|
176
|
+
}
|
|
173
177
|
_coerceString(payload);
|
|
174
178
|
return parse(payload, _);
|
|
175
179
|
}
|
package/package.json
CHANGED