diff --git a/lib/types/keys.js b/lib/types/keys.js index 528683f1..fc813e11 100755 --- a/lib/types/keys.js +++ b/lib/types/keys.js @@ -144,8 +144,7 @@ module.exports = Any.extend({ if (schema.$_terms.dependencies) { for (const dep of schema.$_terms.dependencies) { - if (dep.key && - dep.key.resolve(value, state, prefs, null, { shadow: false }) === undefined) { + if (!internals.isPresent(dep.key && dep.key.resolve(value, state, prefs, null, { shadow: false }), dep.options)) { continue; }