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

Error with table with a key in navigation property #134

Open
VanessaSap opened this issue Nov 12, 2024 · 1 comment
Open

Error with table with a key in navigation property #134

VanessaSap opened this issue Nov 12, 2024 · 1 comment

Comments

@VanessaSap
Copy link

Hello,

When I try to implement Change Tracking on a table where the key is a navigation property, I get the following error:

"Error: CDS compilation failed (@sap/cds-compiler v5.4.0)
srv/admin-service.cds:408:45: Error: Unexpected usage of structured type “to_Rule” (in entity:“RulesDerivation”/column:“changes”/on)"

entity RuleDerivation : managed {
key to_Rule : Association to design.Rule
...
}

Could you help me understand if there’s a way to work around this problem?

@VanessaSap
Copy link
Author

Let me know if you need more details

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