Skip to content
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

Suggest url instead of database for cds.requires.db.credentials #1489

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

swaldmann
Copy link
Contributor

@swaldmann swaldmann commented Dec 2, 2024

Having looked at our impl + history I'm fairly sure cds.requires.db.credentials.database is outdated and shouldn't be recommended any more.

It's even used with different semantics in Postgres, where this field ist just "postgres", not a DB URL:
https://github.com/cap-js/cds-dbs/blob/d7920ec3ceeb3a40d923bb1d40a93bc38e68bd23/postgres/package.json#L56

Imo we could also close cap/issues#13994 with this one.

@swaldmann swaldmann requested a review from chgeo December 2, 2024 15:38
@swaldmann swaldmann requested a review from smahati as a code owner December 2, 2024 15:39
@swaldmann swaldmann enabled auto-merge December 2, 2024 15:40
@swaldmann swaldmann merged commit 0374ea2 into main Dec 2, 2024
4 checks passed
@swaldmann swaldmann deleted the use-url branch December 2, 2024 16:19
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.

2 participants