Closed luthor77 closed 5 years ago
Please add stackblitz example for reproduce
Because immer-adapter integrated with emitter
https://github.com/ngxs-labs/immer-adapter/blob/master/src/tests/helpers/todo.helper.ts
You can see the error in the Receiver setStatus.
Thanks for the link, i didn't see this, I think https://ngxs.gitbook.io/ngxs/ could be updated.
Oh, So I just need to pass the Model?! Ok, only one more question, using the ImmutableSelector should be able to modify the returned object?
using the ImmutableSelector should be able to modify the returned object?
yes
Ok, sometimes I can't, I will investigate better, if I can't resolve I'll open an issue. Thanks for the help.
Before the change from produce operator to ImmutableContext decorator, the Receiver decorator from Emitter plugin had the implementation with immer-adapter documented here, now it doesn't.
It works with the new decorator, but it gives this error, preventing from compiling in aot:
The immer-adapter won't give support anymore to Emmiter plugin?