diff --git a/src/specmap/lib/external-value.js b/src/specmap/lib/external-value.js index 15c5ae613..6a74f09b5 100644 --- a/src/specmap/lib/external-value.js +++ b/src/specmap/lib/external-value.js @@ -91,8 +91,13 @@ const ExternalValueError = createError('ExternalValueError', function cb(message */ const plugin = { key: 'externalValue', - plugin: (externalValue, _, fullPath) => { + plugin: (externalValue, _, fullPath, __, patch) => { const parent = fullPath.slice(0, -1); + const parentObj = lib.getIn(patch.value, parent); + + if (parentObj.value !== undefined) { + return undefined; + } if (shouldSkipResolution(fullPath)) { return undefined;