mikebronner / laravel-model-caching

Eloquent model-caching made easy.
MIT License
2.26k stars 217 forks source link

When model cache disabled, it is correctly disabled on query and all eager loaded relations #232

Closed mycarrysun closed 5 years ago

mycarrysun commented 5 years ago

This is an attempt to fix the reason why scopeDisableCache() global scope is not working.

@mikebronner if this is supposed to be actually set to true for some reason, let me know. I believe it is meant to be false though.

See #106 and #231

mikebronner commented 5 years ago

Oops, yea, looks like that might have been a blooper.

mycarrysun commented 5 years ago

Closes #231