Discussion regarding default population of REST

Hi @DMehaffy Based on the solution provided, finally I am able to populate all nested images inside the DZ component. Below is the solution I use. It’s working fine for DZ but when I added the same for a relation, its not working. Can you suggest anything

   const query = qs.stringify({
          filters: {
            $and: [
              {
                locale: {
                  $eq: language,
                },
              },
              {
                category: {
                  id: {
                    $eq: category.id,
                  },
                },
              },
            ],
          },
          populate: {
            category: {
              populate: "*",
            },
            section: {
              populate: "*",
            },
          },
        },
        {
          encodeValuesOnly: true,
        }
      );
  const baseURL = `http://${strapi.config.host}:${strapi.config.port}`;
  const { data } = await axios.get(`http://localhost:1338/api/clps-data?${query}`);

Here section is a DZ and category is a relation. Here is the schema

"attributes": {
    "section": {
      "type": "dynamiczone",
      "components": [
        "clps-components.banner",
        "clps-components.carousel",
        "clps-components.promotional-banner-with-products",
       ...
      ],
      "pluginOptions": {
        "i18n": {
          "localized": true
        }
      },
      "required": true
    },
    "category": {
      "type": "relation",
      "relation": "oneToOne",
      "target": "api::sub-categories.sub-categories"
    },