cap-js / change-tracking

CDS plugin providing out-of-the box support for automatic capturing, storing, and viewing of the change records of modeled entities.
https://cap.cloud.sap/docs
Apache License 2.0
22 stars 8 forks source link

Change tracking does not log any changes when a record is updated via UPSERT #136

Open jbm1991 opened 1 week ago

jbm1991 commented 1 week ago

If you use UPSERT in a service handler to update a record then no changes are logged. This means you have to manually work out if an UPDATE or INSERT should be used, and then use the correct one. It would be great if UPSERT could also be handled.

nkaputnik commented 4 days ago

Hello @jbm1991 it seems like we really have no support for UPSERT in the plugin, onle INSERT, UPDATE and DELETE We'll bring this up in our next regular sync and see how much effort adding this would be

Best, Nick