falcor-router
falcor-router copied to clipboard
Invalidation of graph value via jsonGraphEnvelope isn't returned to client
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']]
};
Yep, looks like a bug.
We will look into this. In the meantime please use path value pairs to unblock.