@dataclouder/ngx-core 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3713,7 +3713,10 @@ class EntityCommunicationService {
3713
3713
  return this.update(id, payload);
3714
3714
  }
3715
3715
  partialUpdate(id, partialUpdates) {
3716
- return this.operation({ action: 'updateOne', query: { _id: id }, payload: partialUpdates });
3716
+ // In backend object is flattened, so Convert nested objects to dot notation eg. { "video.captions.remotion": captions.captions }
3717
+ // return this.operation({ action: 'updateOne', query: { _id: id }, payload: partialUpdates });
3718
+ // Partial update have more advanced logic, also it return object updated, for now operation it not working and bracking code.
3719
+ return this.httpService.putHttp({ service: `api/${this.serviceName}/${id}`, data: partialUpdates, host: this.customHost });
3717
3720
  }
3718
3721
  async remove(id) {
3719
3722
  return this.operation({ action: 'deleteOne', query: { _id: id } });