组件和动态区域应使用详细的填充策略(on 片段)进行填充
🌐 Components and dynamic zones should be populated using the detailed population strategy (on fragments)
在 Strapi 5 中,组件和动态区域应使用详细的填充策略填充,使用 on 片段。Strapi v4 中可能使用的共享填充策略不再受支持。
🌐 In Strapi 5, components and dynamic zones should be populated using the detailed population strategy, with on fragments. The shared population strategy possible in Strapi v4 is no longer supported.
此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。
🌐 This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
重大变更描述
🌐 Breaking change description
在 Strapi v4 中
你可以使用 the shared or the detailed population strategy 在 REST API 调用中填充组件和动态区域。
迁移
🌐 Migration
本节重新组合了有关引入的重大更改的有用说明和程序。
🌐 This section regroups useful notes and procedures about the introduced breaking change.
注意
🌐 Notes
有关人口的更多信息请参阅 REST API 文档。
🌐 Additional information on population is available in the REST API documentation.