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.
2 parents 8bbd4c9 + 3a815ca commit d423625Copy full SHA for d423625
reverse_engineering/helpers/dataHelper.js
@@ -584,6 +584,9 @@ const convertFormatToMode = schema => {
584
585
const handleSchemaExtensions = (schema) => {
586
const mappedExtensionsObject = getExtensionsObject(schema);
587
+ if (!Array.isArray(mappedExtensionsObject.scopesExtensions) || mappedExtensionsObject.scopesExtensions.length === 0) {
588
+ return schema;
589
+ }
590
const schemaWithoutExtensions = Object.keys(schema).reduce((accumulator, property) => {
591
if (property.startsWith(EXTENSION_SYMBOL)) {
592
return accumulator;
0 commit comments