We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61b159 commit 64a5c11Copy full SHA for 64a5c11
1 file changed
src/utils/generics.ts
@@ -100,6 +100,7 @@ const normalizeObjectForComparison = (value: unknown): unknown => {
100
if (isPlainObject(value)) {
101
const normalized: Record<string, unknown> = {};
102
Object.entries(value).forEach(([key, val]) => {
103
+ if (val === undefined || val === null) return
104
if (key === "__typename" || key === "id" || key === "createdAt" || key === "updatedAt") return;
105
normalized[key] = normalizeObjectForComparison(val);
106
});
0 commit comments