Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Caching does not work with whereIn(query builder) or whereHas #202

Open
thebirds opened this issue Nov 28, 2019 · 1 comment
Open

Caching does not work with whereIn(query builder) or whereHas #202

thebirds opened this issue Nov 28, 2019 · 1 comment

Comments

@thebirds
Copy link

I see that the Closure object in whereIn or whereHas is an empty json object when get the json to make the hash on generateCacheHash() method of Cacheable Traits so the hash will not be correct. Do have anyone get the same problem? How to deal with it?

Thanks

@BUGOVER
Copy link

BUGOVER commented Dec 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants