Skip to content

Fix for component level relations not being purged #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PeterBowater
Copy link

As noted in another PR (#86) and bug #66
we were having issues with components that contain relations not getting their cache invalidated/purged.

We've done a lot of testing on this (just finalising front end QA), and it appears to now be working as it should (Strapi v4.24.4)

The issue stems from actually extracting the models correctly, but not in the end adding them to the relatedModels array.

A very, very simple change in the end, but like I say, we have tested this and it appears to be working.

Hope this is enough info and you find it useful, and I'm not barking up the wrong tree.

TVM for the plugin, using it very heavily now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant