lagoshny/ngx-hal-client

update problem

Closed this issue · 1 comments

hi,

i have extended some classes from Resource class to use it in RestService.

All are right. i can'get results and records in my ngrx store exactely as expected.

But, one i try to modify some object getted from my store, i get error talled me that the object is readonly.

If i work without inheritence from Resource class all goes fine.

I'm sorry for my bad english.

Thx in adavance.

Hi,

The problem comes from ngrx store, because the state and objects within are immutable.

Thx.