Cache interceptor

Hi, this query is regarding apollo-client (react).
I’m planning to write a cache interceptor which can notify me for any cache updates (typically after normalisation). I intent to use this to write a debugger which can tell me the cause of updates (either query/mutation/subscription responses or manual writes) as well as the snapshot diffs.

I don’t see any such support currently in the code so wanted to ask the community if what all code touch points should I consider when adding this feature in the apollo-client’s codebase, or am I missing something and if this functionality already exists.

Thanks, and I’m sure any suggestions will be helpful so please don’t hesitate in commenting on this thread. I’m new here :slight_smile: