Skip to content

Commit 3525ab1

Browse files
committed
do not remove content from sub-schema when it is changed to $ref in schema diagram
1 parent f263dd2 commit 3525ab1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • meta_configurator/src/schema/graph-representation

meta_configurator/src/schema/graph-representation/typeUtils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export function applyNewType(
133133

134134
if (typeSchema.$ref) {
135135
currentSchema.$ref = typeSchema.$ref;
136-
cleanupSchemaByType(currentSchema, '$ref');
137136
} else {
138137
delete currentSchema.$ref;
139138
}

0 commit comments

Comments
 (0)