You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: