Skip to content

← All questions

Docs say null clears a key and undefined is skipped — where does that apply, exactly?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

The merge rules say objects merge, arrays replace, undefined is skipped and null clears a key. The first two I have hit in practice. The last two I cannot reproduce — putting mask: null in an environment file gives me a schema error, not a cleared key.

Am I using it in the wrong place?

1 answer

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related