angular-architects / ngrx-toolkit

Various Extensions for the NgRx Signal Store
MIT License
98 stars 16 forks source link

Update entity must be Partial<Entity> #24

Closed qooco closed 3 weeks ago

qooco commented 3 months ago

Update method accepts only full entity, but usualy update not require it

Plus update calls patchState(store, { [currentKey]: entity }); its problem when entity is Partial

Offcourse we can write new method for partial updates...

rainerhahnekamp commented 3 months ago

Thanks for reporting @qooco. Do you want to provide a PR as well or should we do it?

qooco commented 3 months ago

I will see it depends on time, thanks for answer

qooco commented 3 months ago

PR #26