Update can-set to fix an issue with cache-requests
bmomberger-bitovi
released this
04 Jan 23:23
·
262 commits
to master
since this release
The cache-requests behavior uses set differences to figure out what needs to be loaded from the server. Prior to can-set 1.5.0, there was a bug that caused sets with paging to diff to just the page data ( i.e. { foo: 'bar', offset 0, limit: 25 } - { foo: 'bar', offset: 0, limit: 10 } => { offset: 10, limit: 15 }
when the set representing the difference should still have the foo: 'bar'
clause). This meant that pages would come back from the server, not matching the original query. With this version and can-set 1.5.0, that issue is fixed.