Skip to content

Export data and texts#27

Merged
beckermarc merged 1 commit intomainfrom
export-data-texts
Feb 16, 2026
Merged

Export data and texts#27
beckermarc merged 1 commit intomainfrom
export-data-texts

Conversation

@beckermarc
Copy link
Collaborator

@sap/cds-dk 9.7 disabled export of data and texts by default.

@sap/cds-dk 9.7 disabled export of data and texts by default.
Copy link

@rjayasinghe rjayasinghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment. Take it or leave it. :)

<configuration>
<commands>
<command>export srv/data-service.cds -4 mvn -a cdl -2 ./apis/data-service/src/main/resources/cds/capire/xflights-data</command>
<command>export srv/data-service.cds --data --texts --as cdl -4 mvn -2 ./apis/data-service/src/main/resources/cds/capire/xflights-data</command>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor thing: if we use -- parameters at one place maybe we can use them consitently:

Would this work, too?

export srv/data-service.cds --data --texts --as cdl --for mvn --to

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I also thought about that, but that makes the command even longer :(
I actually wanted to use short names everywhere but -d seems to be an alias for both --debug AND --data, leading to the command only writing a debug help output :(
I guess this needs to be fixed in @sap/cds-dk.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. 🥲

@beckermarc beckermarc merged commit 6566687 into main Feb 16, 2026
6 checks passed
@beckermarc beckermarc deleted the export-data-texts branch February 16, 2026 11:44
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