I'd like to purge the cache of my loader from my service when the service update / delete data in the DB.
With the DI, I can easily get them in resolvers but I believe the services are the best place to hold such logic. However, I am not sure how to properly retrieve a loader in my service.
I checked how the @loader() decorator works and noticed it uses an internal store not available outside the DataloaderModule, so I understand I can't rely on it.
Would you be able to help? :)