Skip to content

Conversation

@MarievonSeggern
Copy link
Contributor

I added value help for the genre attribute in the cap bookshop sample. Therefore I added the vh-service.cds and the added the value help annotation in the schema.dcl. Changes that need to be done in the mta.yaml file are described in the README.md file.

@cla-assistant
Copy link

cla-assistant bot commented Jul 14, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@finkmanAtSap finkmanAtSap left a comment

Choose a reason for hiding this comment

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

Looks really good 😊 I just have some minor suggestions.

Copy link
Contributor

@finkmanAtSap finkmanAtSap left a comment

Choose a reason for hiding this comment

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

Thanks. Looks good. I'm just a bit worried if the db.sqlite file is really in the required shape.

Perhaps you could verify this with a simple unit test for the value help service similar to cat-serivce.test.js

You should be able to authenticate as the mock user with name principal-propagation for this test like so.

As a second test, you could verify that alice has no access because she is lacking the Reader role afaik.

Copy link
Contributor

@finkmanAtSap finkmanAtSap left a comment

Choose a reason for hiding this comment

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

Awesome!

@MarievonSeggern MarievonSeggern merged commit 7b648ba into main Jul 16, 2025
3 checks passed
@MarievonSeggern MarievonSeggern deleted the value-help branch July 16, 2025 07:41
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.

3 participants