Closed
Description
I updated LMC from 0.3.6 to 0.4.14, and morph relationships broke.
Explanation:
- I call php artisan cache:clear to clear cache.
- I get products and their prices using eager-load for the first time, everything is fine.
- I get other products and their prices, the query to the database is cached and not displayed in the console, of course cache doesn't have this data - relationships is not returned.
Expecting missed query:
Product model:
Price model:
In 0.3.6 all worked fine.