Skip to content

Conversation

@tim-sh
Copy link
Member

@tim-sh tim-sh commented Jan 22, 2026

fixes #132

@tim-sh tim-sh requested a review from daogrady January 22, 2026 14:14
The CDS compiler transforms entity names from CSN (Books.texts) to CSDL (Books_texts), replacing dots with underscores. The original implementation checked for '.texts' suffix which never matched in CSDL.

The @cds.autoexposed annotation is correctly preserved in CSDL when odataOpenapiHints option is enabled (already done in lib/compile/index.js:36).

Also update test data to match real compiler output structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Entity_texts being exposed for localized entities

3 participants