This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
how to set related models #71
Open
Description
strapi: 3.6.6
strapi-middleware-cache: 2.1.0
i have city and building models, i want to clear building cache when i update or delete city model.
in building/models/building/settings.json, i have set {attributes: {city: {model: "city"}}}
in middleware.js, i have set {clearRelatedCache: true}, it's not clear building cache when i edit or delete city model.
document said (this clears the whole cache for the related models), is there any way to set related models?
Metadata
Metadata
Assignees
Labels
No labels