You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When raw responses are disabled, and a document retrieved from the db contains a field named json, its value will overwrite that of the Response.json (which should be a reference the whole original document). Since the latter is accessed to save the document in cache (lib/cradle/database/documents.js:44):
if (! err) that.cache.save(res.id, res.json);
the result is that only that one document field will get cached rather then the whole document, breaking the application in an obscure way.
The text was updated successfully, but these errors were encountered:
When raw responses are disabled, and a document retrieved from the db contains a field named
json
, its value will overwrite that of theResponse.json
(which should be a reference the whole original document). Since the latter is accessed to save the document in cache (lib/cradle/database/documents.js:44):the result is that only that one document field will get cached rather then the whole document, breaking the application in an obscure way.
The text was updated successfully, but these errors were encountered: