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

Imports missing #47

Open
szymarcus opened this issue Dec 7, 2022 · 0 comments
Open

Imports missing #47

szymarcus opened this issue Dec 7, 2022 · 0 comments

Comments

@szymarcus
Copy link

On generating types for the service that looks similar to the definition below imports are missing for referenced properties. Hope that the provided informations are enough. Let me know if you need anything else.

cds2types version: 3.0.0
cds version: 6.3.2

using {com.customer.app.businessPartnerRequest as businessPartnerRequest} from '../../db/business-partner-request/business-partner-request';
using com.customer.app.common as common from '../../db/common/common';
using {com.customer.app.businessPartnerViews as MyRequests} from '../../db/business-partner-request/views/business-parter-request-views';

service BusinessPartnerRequestService @(requires : 'authenticated-user') {

  entity BusinessPartnerRequests            as projection on businessPartnerRequest.BusinessPartnerRequests;
  ...

  entity AffectedOrganisations @readonly    as projection on businessPartnerRequest.AffectedOrganisations;
  ...
}

image

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

No branches or pull requests

1 participant