Skip to content

Commit

Permalink
Add TODO comment for @cds.api.ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
schwma committed Jan 11, 2024
1 parent 5091237 commit c5706f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/schema/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c5706f1

Please sign in to comment.