Conversation
e2e/data-connect/dataconnect-generated/js/default-connector/package.json
Show resolved
Hide resolved
stephenarosaj
left a comment
There was a problem hiding this comment.
comments resolved - LGTM (waiting to approve until other comments resolve)
stephenarosaj
left a comment
There was a problem hiding this comment.
all comments resolved - LGTM
|
LGTM pending the comments. |
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive caching layer for Data Connect, which is a significant and well-executed feature. The architecture is robust, handling entity normalization, cache invalidation on user changes, and providing different fetch policies. The code is well-structured with good separation of concerns and is accompanied by extensive tests. I've identified one high-severity issue with the implementation of the CACHE_ONLY fetch policy, where it incorrectly falls back to a network request. A code suggestion to fix this is provided. Overall, this is an excellent contribution.
No description provided.