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

[REGRESSION] db-service v1.12.1 broke deep inserts #811

Open
hakimio opened this issue Sep 18, 2024 · 1 comment
Open

[REGRESSION] db-service v1.12.1 broke deep inserts #811

hakimio opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hakimio
Copy link

hakimio commented Sep 18, 2024

Description of erroneous behavior

Following works fine with 1.12.0 but breaks with 1.12.1:

const result = await INSERT.into('MyService.MyEntity').entries({
  foo: 'bar',
  nestedEntity: {
    bar: 'baz'
  }
});

With 1.12.0 proper result is returned, with 1.12.1 result is 0 and nothing is inserted.

Details about your project

Name Version
OData version v4
Node.js version v20.13.1
@sap/cds 7.9.4
@sap/cds-compiler 4.9.8
@sap/cds-dk 7.9.7
@cap-js/postgres 1.10
@hakimio hakimio added the bug Something isn't working label Sep 18, 2024
@hakimio
Copy link
Author

hakimio commented Sep 18, 2024

@David-Kunz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants