From 1ce801573f1d4aa0e6c4f465eff8c1e7c958c5a8 Mon Sep 17 00:00:00 2001 From: yaacovCR Date: Thu, 7 Nov 2019 14:00:32 -0500 Subject: [PATCH] fix(stitching): latest fix breaks zeros --- src/stitching/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stitching/errors.ts b/src/stitching/errors.ts index 3d5f41c1066..79b0449f41c 100644 --- a/src/stitching/errors.ts +++ b/src/stitching/errors.ts @@ -44,7 +44,7 @@ export function relocatedError( } export function createMergedResult(object: any, childrenErrors: ReadonlyArray = []): any { - if (!object) { + if (object == null) { object = { [MERGED_NULL_SYMBOL]: true, };