-
-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Description
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
- 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run
yarn generate
in the terminal.Please make sure the GraphQL Tools package versions under
package.json
matches yours. - 2. A failing test has been provided
- 3. A local solution has been provided
- 4. A pull request is pending review
Describe the bug
In version 10.6.1 of @graphql-tools/utils
, undefined
values are ignored from mergeDeep
. For example:
mergeDeep([{a:"dsa"}, {a:"dd", b: 1}, undefined])
Returns { a: 'dd', b: 1 }
In version 10.6.2 and beyond, the same input returns undefined
To Reproduce Steps to reproduce the behavior:
In version 10.6.2:
mergeDeep([{a:"dsa"}, {a:"dd", b: 1}, undefined])
Returns undefined
Expected behavior
To return the same as 10.6.1:
{ a: 'dd', b: 1 }
Metadata
Metadata
Assignees
Labels
No labels