update problem
Closed this issue · 1 comments
mouradneb commented
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.
mouradneb commented
Hi,
The problem comes from ngrx store, because the state and objects within are immutable.
Thx.