Is your feature request related to a problem? Please describe.
I am using graphql with graphql-cache.
But now I want to invalidate the cache if my object is changed
Describe the solution you'd like
It will be better if we can just call a method in the after_commit callback and invalidate the cache of related records