reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

error in collections loaded from store #136

Closed maxi7587 closed 5 years ago

maxi7587 commented 5 years ago

When the library fails to format a collection with includes from the back end, it saves the result in the store without the requested relationship. This causes future requests to be loaded from store whithout the corresponding relationships, instead of requesting new data from the server. Also, resources loaded from store have empty attributes.