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

The cache does not work with fields property #334

Open veneliniliev opened 2 years ago

veneliniliev commented 2 years ago

The cache does not work with fields property

example:

page: {
  number: page,
},
fields: {
  resource1: [
    ...fields...
  ],
  resource2: [
    ...fields...
  ]
},
include: ['relaton1', 'relation2'],
remotefilter: {
  active: 1
},
ttl: 3600

when I removed fields property ... everything worked!