-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Feature request
Please describe your feature request
Having the option to auto-populate or not Components and Dynamic Zones in API responses from the Content-Types Builder.
- I have created my request on the Product Board before I submitted this issue
- I have looked at all the other requests on the Product Board before I submitted this issue
Summary
Components and Dynamic Zones (and media also) are not populated by default on v4. Why not have the option to auto-populate them?
Why is it needed?
You might always need these fields to be returned in your API response for some Content-Types while not having to populate them manually using populate every time you create some new ones.
ex: Page Content-Type. I will always need to have my components and DZ components (Auto-populate: true)
ex: Restaurant Content-Types. I will not always need my dynamic zones components (Auto-populate: false)
This can also prevent users to create big queries containing dozens of populate params if your Dynamic Zone contains dozens of components.
Suggested solution(s)
Implement a checkbox for auto-populating or not their Components, Dynamic Zones (Media fields?)
