Skip to content

Warnings node_modules/@cap-js/change-tracking/index.cds:23:3: No OData navigation property generated, target “sap.changelog.ChangeLog” is outside of service ... #121

@D027152

Description

@D027152

Hello

Some services that we have defined in our repository https://github.tools.sap/erp4sme/crypto-for-business contain entities that are enabled for change tracking via annotation @changelog.
For all these services the command cds build --production creates warnings like the following:
[WARNING] node_modules/@cap-js/change-tracking/index.cds:23:3: No OData navigation property generated, target “sap.changelog.ChangeLog” is outside of service ...:
image

These warnings seem not to harm. However: Is there a possibility to get rid of them?

The reason for the warnings seems to be that each entity gets the annotation changes, which points to entity ChangeView, which contains the association changeLog pointing to entity ChangeLog. The entity ChangeView is contained in our odata services, but entity ChangeLog is not.

to reconstruct:

Metadata

Metadata

Assignees

No one assigned

    Labels

    author actionNeed the actions taken by an author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions