Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 69efc1c

Browse files
committed
fix(external-value): skip if value is present
1 parent ffcfa4b commit 69efc1c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/specmap/lib/external-value.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,13 @@ const ExternalValueError = createError('ExternalValueError', function cb(message
9191
*/
9292
const plugin = {
9393
key: 'externalValue',
94-
plugin: (externalValue, _, fullPath) => {
94+
plugin: (externalValue, _, fullPath,__,patch) => {
9595
const parent = fullPath.slice(0, -1);
96+
const parentObj = lib.getIn(patch.value, parent);
97+
98+
if (parentObj.value !== undefined) {
99+
return undefined;
100+
}
96101

97102
if (shouldSkipResolution(fullPath)) {
98103
return undefined;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /