fix(config): preserve explicit null when merging objects

This commit is contained in:
Aleksei Bavshin
2021-09-15 22:14:12 +07:00
parent ccc60b4245
commit 0c1d3e30b6
4 changed files with 13 additions and 4 deletions

View File

@ -2,5 +2,6 @@
"layer": "top",
"position": "bottom",
"height": 30,
"output": ["HDMI-0", "DP-0"]
"output": ["HDMI-0", "DP-0"],
"nullOption": "not null"
}

View File

@ -1,4 +1,5 @@
{
"include": ["test/config/include-1.json", "test/config/include-2.json"],
"position": "top"
"position": "top",
"nullOption": null
}