Fix (?) to shared-db testing in microservices.md#1937
Merged
Conversation
The `cds db -2 sql` and `cds db -2 hana` commands are a bit suspect, as the `db` command doesn't exist. From the paragraph just before these commands, I suspect this should be `compile`, but even then, we need also to specify the `--all` option, otherwise we get the message "You must specify a model to compile.".
Contributor
|
compile is the default command, it is documented ( I would prefer to specify that we do compile the model, meaning It looks also as a regression: |
Contributor
|
I do not see the --all option documented in cds 9, see |
Contributor
|
Why not use cds compile, so the full command? Is there a need to use the shortcut/default? If not, we should not make our users guess/research what we mean. |
Contributor
|
|
Contributor
renejeglinsky
left a comment
There was a problem hiding this comment.
Proposal following @vl-leon's comment
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
vl-leon
approved these changes
Jul 3, 2025
renejeglinsky
approved these changes
Jul 3, 2025
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
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.
The
cds db -2 sqlandcds db -2 hanacommands are a bit suspect, as thedbcommand doesn't exist. From the paragraph just before these commands, I suspect this should becompile, but even then, we need also to specify the--alloption, otherwise we get the message "You must specify a model to compile.".