Hi,
As part of our project we are consuming catalog events (Axon as event store) and creating our projection. Our graphql application queries this projection database (mongo) and returns the result. We have used apollo graphql caching to improve the performance. Since we are using the GraphQL only for query purpose, how can we invalidate the apollo server cache in case there is change in catalog data. Is there any API which I can trigger to clear the cache? The document talks about how to invalidate cache from the client perspective (react) but I am looking for some backend solution to invalidate the cache at server side either through API or possibly consuming event.
Thanks
Suresh B