spiritix / lada-cache

A Redis based, fully automated and scalable database cache layer for Laravel
MIT License
538 stars 68 forks source link

Broken invalidation for joinSub() queries #125

Open daltonlp opened 7 months ago

daltonlp commented 7 months ago

If you create a joinSub() query, it won't be tagged with the name of the join table.

Any changes to the joined table will not invalidate the cached query results.

There is a test for this exact scenario: https://github.com/spiritix/lada-cache/blob/master/tests/TaggerTest.php#L274

With the failing check commented out: "TODO: Not working"