diff --git a/lib/schema/util/index.js b/lib/schema/util/index.js index 85883380..3331ed63 100644 --- a/lib/schema/util/index.js +++ b/lib/schema/util/index.js @@ -7,6 +7,7 @@ const _isFlatForeignKey = element => Boolean(element['@odata.foreignKey4'] || el const _isLocalized = element => element.name === 'localized' && element.target?.endsWith('.texts') +// TODO: add check for @cds.api.ignore const shouldElementBeIgnored = element => element.name.startsWith('up_') || _isLocalized(element) || _isFlatForeignKey(element)