We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@default
1 parent 70da3c5 commit 84fbd04Copy full SHA for 84fbd04
lib/expand.js
@@ -69,6 +69,11 @@ api.expand = ({
69
return null;
70
}
71
72
+ // disable framing if activeProperty is @default
73
+ if(activeProperty === '@default') {
74
+ options = Object.assign({}, options, {isFrame: false});
75
+ }
76
+
77
if(!_isArray(element) && !_isObject(element)) {
78
// drop free-floating scalars that are not in lists unless custom mapped
79
if(!insideList && (activeProperty === null ||
0 commit comments