Dustin Farris
Dustin Farris
@mattkrick there may very well be some nuance at play with the Ember view layer, but I think there is a real bug here, and I think the reason you...
Updated title and description. /cc @mattkrick @jordanh
@mattkrick ok, if adding lowish-level hooks are a no-go (_à la_ v2), then I think my alternative proposal should be considered, perhaps in a separate issue. In a nutshell: modify...
Yep, that works too. The goal, though, is to use data that potentially came from other queries—you mentioned in another issue something about not making assumptions about type/id uniqueness. I'm...
The difference here is that Cashay knows in advance what Type will be returned. Relay and others do not. In my view, this is a clear differentiator that makes those...
Interesting question. My gut reaction is the (optional) list of ids. ``` type Root { todos(ids: [ID]): [Todo] } ``` ``` query FiveTodos($todo_ids: [ID]) { todos(ids: $todo_ids) { id name...
"other tools" might include a way to specify which Types have UUIDs when cashay is initialized. e.g. ```js cashay.create({ types_with_uuid: ["Todo", "Project"] ``` and then use that to decide whether...
**tl;dr** the abbreviated proposal is: ---- If the **Object Type** and **ID** of a query can be determined in advance, Cashay will attempt to find existing data in cache, and...
Think I figured it out. It is because PhantomJS does not support `String.prototype.startsWith`. I am trying to find a polyfill I can inject.
Here's a polyfill you could add to cashay's dependencies: https://github.com/mathiasbynens/String.prototype.startsWith