@fourlights/strapi-plugin-deep-populate 1.2.3 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/dist/server/index.js +485 -155
- package/dist/server/index.mjs +485 -155
- package/dist/server/src/config/index.d.ts +2 -2
- package/dist/server/src/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,8 +27,11 @@ Enable deep population in your Strapi config:
|
|
|
27
27
|
// config/plugins.js
|
|
28
28
|
module.exports = ({ env }) => ({
|
|
29
29
|
'deep-populate': {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
enabled: true,
|
|
31
|
+
config: {
|
|
32
|
+
useCache: true, // default
|
|
33
|
+
replaceWildcard: true, // default
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
});
|
|
34
37
|
```
|
|
@@ -63,7 +66,7 @@ const document = await strapi.documents('api::page.page').findOne({
|
|
|
63
66
|
|
|
64
67
|
### Caching
|
|
65
68
|
|
|
66
|
-
The plugin caches populate objects to improve performance. Cache can be disabled via the `
|
|
69
|
+
The plugin caches populate objects to improve performance. Cache can be disabled via the `useCache` setting.
|
|
67
70
|
|
|
68
71
|
### Creator Fields
|
|
69
72
|
|