Skip to Content
0
Jun 11, 2020 at 02:42 PM

CAP services for separated concerns

99 Views

Hi,

I want to split my cds service into multiple ones separating concerns as described in https://cap.cloud.sap/docs/guides/providing-services#best-practices

I have one very basic question where I can't find an answer.

If you look at the small samples provided in the link above then there is a CatalogService and an AdminService. Both include the entity "Books". Both require "authenticated-user".

I would bind a list in an UI5 view using something like items="{/Books}". So how would the backend know if it should use CatalogService or AdminService?