Closed sunel closed 6 years ago
After investigating found that
https://github.com/reyesoft/ngx-jsonapi/blob/19ef509fdc345f9d28b1b73eccb8617a627e9e29/src/service.ts#L172-L191
this is what is causing the resource not been called https://github.com/reyesoft/ngx-jsonapi/blob/19ef509fdc345f9d28b1b73eccb8617a627e9e29/src/service.ts#L190
Removing subject.complete(); makes the code work fine
subject.complete();
I believe subjects once completed cannot emit any longer
After investigating found that
https://github.com/reyesoft/ngx-jsonapi/blob/19ef509fdc345f9d28b1b73eccb8617a627e9e29/src/service.ts#L172-L191
this is what is causing the resource not been called https://github.com/reyesoft/ngx-jsonapi/blob/19ef509fdc345f9d28b1b73eccb8617a627e9e29/src/service.ts#L190
Removing
subject.complete();
makes the code work fineI believe subjects once completed cannot emit any longer