-
Notifications
You must be signed in to change notification settings - Fork 24
fix: reject nested projection if duplicated #1411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patricebender
commented
Nov 24, 2025
Member
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a test which shows a potential fix with as foo
await cds.ql`SELECT from ${Books} { author {name}, author as foo {ID as name }}`
stewsk
approved these changes
Nov 25, 2025
Merged
johannes-vogel
pushed a commit
that referenced
this pull request
Nov 26, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>db-service: 2.7.0</summary> ## [2.7.0](db-service-v2.6.0...db-service-v2.7.0) (2025-11-26) ### Added * `error` standard function ([#1421](#1421)) ([b1b0fca](b1b0fca)) ### Fixed * LimitedRank with compositions ([#1391](#1391)) ([31766cd](31766cd)) * reject nested projection if duplicated ([#1411](#1411)) ([6e924c9](6e924c9)) </details> <details><summary>hana: 2.4.0</summary> ## [2.4.0](hana-v2.3.4...hana-v2.4.0) (2025-11-26) ### Added * `error` standard function ([#1421](#1421)) ([b1b0fca](b1b0fca)) * show default pool configuration in `env` ([#1422](#1422)) ([89b397a](89b397a)) ### Fixed * **deps:** update dependency hdb to v2 ([#1266](#1266)) ([742a784](742a784)) ### Dependencies * The following workspace dependencies were updated * dependencies * @cap-js/db-service bumped from ^2.6.0 to ^2.7.0 </details> <details><summary>postgres: 2.1.0</summary> ## [2.1.0](postgres-v2.0.6...postgres-v2.1.0) (2025-11-26) ### Added * show default pool configuration in `env` ([#1422](#1422)) ([89b397a](89b397a)) ### Dependencies * The following workspace dependencies were updated * dependencies * @cap-js/db-service bumped from ^2.6.0 to ^2.7.0 </details> <details><summary>sqlite: 2.1.0</summary> ## [2.1.0](sqlite-v2.0.4...sqlite-v2.1.0) (2025-11-26) ### Added * show default pool configuration in `env` ([#1422](#1422)) ([89b397a](89b397a)) ### Dependencies * The following workspace dependencies were updated * dependencies * @cap-js/db-service bumped from ^2.6.0 to ^2.7.0 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #1408