can-connect
can-connect copied to clipboard
Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.
We need a way to know if the data is from the cache or not. This will let developers put the list in a "disabled" state until the real data...
I'm not entirely sure how this is possible b/c we "roll up" metadata into larger objects. We could keep every sets old metadata, but it seems a bit wasteful. An...
When trying to get a record in model via: ``` return ContributionMonth.get( this.contributionMonthId ); ``` I get a failure after receiving the response back from the server. I get the...
> SUMMARY: There should be a way to disable or add certain behaviors and the cacheConnection (or provide your own cacheConnection) to superMap. if you are on developing, some request...
the updateSets-functions in data-memory-cache is empty https://github.com/canjs/can-connect/blob/master/src/data/memory-cache/memory-cache.js#L79 so no sets will updateted and data-memory-cache is not working as expected
> SUMMARY: With list data in localstorage, it's possible that a slow `.getList` shows data immediately, then a `.save` happens which is added to the set, but then the fall...
In bitballs, I load a game's data, which gets saved in localStorage. Then later, I load the same item "withRelated" data. I get the game's data without related data from...
From https://github.com/canjs/canjs/issues/1463 which includes a test.
``` todoConnection(["uses-session"],{ url: { getListData: "GET /todos", headers: ["sessionId"] } }) todoConnection.getListData({sessionId: 7, complete: true}) // GET /todos?complete=true // Headers: // sessionId=7 ```