falcor-router icon indicating copy to clipboard operation
falcor-router copied to clipboard

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

Open jameslaneconkling opened this issue 8 years ago • 2 comments

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']]
};

jameslaneconkling avatar Oct 04 '16 14:10 jameslaneconkling

Yep, looks like a bug.

trxcllnt avatar Oct 05 '16 18:10 trxcllnt

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

jhusain avatar Oct 05 '16 22:10 jhusain