Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
fix(stitching): latest fix breaks zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Nov 7, 2019
1 parent b39ca7f commit 1ce8015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stitching/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function relocatedError(
}

export function createMergedResult(object: any, childrenErrors: ReadonlyArray<GraphQLError> = []): any {
if (!object) {
if (object == null) {
object = {
[MERGED_NULL_SYMBOL]: true,
};
Expand Down

0 comments on commit 1ce8015

Please sign in to comment.