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

Issue - "With" method not forget the cache #198

Open
YannikFirre opened this issue Aug 20, 2019 · 0 comments
Open

Issue - "With" method not forget the cache #198

YannikFirre opened this issue Aug 20, 2019 · 0 comments

Comments

@YannikFirre
Copy link

Hello @Omranic ,

I have a issue with the "with" method.

Example :
$reminders = $this->reminderRepository->with('services')->findAll();

If i update the "service" there is no change when i call again :
$reminders = $this->reminderRepository->with('services')->findAll();

I must use ( so without cache for services ) :
$reminders = $this->reminderRepository->findAll()->load('services');

I do something bad ?

Thanks ;)

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

1 participant