can-connect icon indicating copy to clipboard operation
can-connect copied to clipboard

Fixes #133, creates API for Maps and Lists for consistent data checking

Open imjoshdean opened this issue 9 years ago • 3 comments
trafficstars

For #133:

If can/map is being used alongside fall-through-cache, new attributes will be added to Maps and Lists.

  • isConsistent() will return true if the data is actively in sync with the data from the server, false if it's relying on fall-back-cache's cached data.
  • inconsistencyReason will return the base connection's rejected promise error, should there be one.

imjoshdean avatar Sep 27 '16 18:09 imjoshdean

Thanks @imjoshdean. Please let me know if you have any thoughts about this stuff.

justinbmeyer avatar Sep 28 '16 16:09 justinbmeyer

Thoughts provided inline!

imjoshdean avatar Sep 29 '16 02:09 imjoshdean

@justinbmeyer this is waiting review.

matthewp avatar Nov 30 '16 17:11 matthewp