Netflix / falcor-router

A Falcor JavaScript DataSource which creates a Virtual JSON Graph document on your app server.
http://netflix.github.io/falcor
Apache License 2.0
104 stars 46 forks source link

Invalidation of graph value via jsonGraphEnvelope isn't returned to client #192

Open jameslaneconkling opened 7 years ago

jameslaneconkling commented 7 years ago

see this stack overflow question

Returning pathSets with invalidation metadata from a route successfully adds invalidation paths to response:

{
  path: ['folderList', 'length'],
  invalidated: true
}

However, returning a jsonGraphEnvelope from the route drops the invalidation paths from the response:

{
  jsonGraph: {...}
  paths: [...],
  invalidated: [['folderList', 'length']]
};
trxcllnt commented 7 years ago

Yep, looks like a bug.

jhusain commented 7 years ago

We will look into this. In the meantime please use path value pairs to unblock.