Do not try to convert Dates (considered an object) (#14520)

This commit is contained in:
José Varela
2022-07-19 22:54:14 +01:00
committed by GitHub
parent ec77b0a203
commit f7a8c36ee6

View File

@@ -1575,7 +1575,7 @@ export class GraphQLService {
result[currentKey] = Object.values(value)[0]!;
} else {
result[currentKey] = isObject(value) ? replaceFuncDeep(value) : value;
result[currentKey] = value?.constructor === Object ? replaceFuncDeep(value) : value;
}
});
}