Open sujonvidia opened 3 years ago
There was no plan for it, but as I can understand from your use case, adding before_read
seems like a good idea. It would be great if you could try to add the functionality and create a PR.
Thank you very much for your response. I have already implemented before_find hook and it's working. I'll create a PR after also adding after_find hook.
Hi @sujonvidia , have you opened a PR for this?
I have used before_save, before_update, before_delete hook functions for caching data to redis in-memory database and it's working great but I need a similar before_read hook function to read data from cache if available. Is there any plan for it or can I add that functionality?