From c5706f19c806bca4febe15fdc41c35292c950e8b Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Thu, 11 Jan 2024 15:56:05 +0100 Subject: [PATCH] Add TODO comment for `@cds.api.ignore` --- lib/schema/util/index.js | 1 + 1 file changed, 1 insertion(+) 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)