laravel-repositories
laravel-repositories copied to clipboard
Issue - "With" method not forget the cache
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 ;)