Issue when depopulating a relation inside component present in dynamic zone

System Information
  • Strapi Version: 5.0.1
  • Operating System: winows
  • Database: mysql
  • Node Version:
  • NPM Version:
  • Yarn Version:

Not getting info if populate for relation present in component inside dynamic zone

const dataCheck = await strapi.documents("api::test-editor-dymanic.test-editor-dymanic").findMany({
      populate:{
        "testVal": {
          "on": {
            "voucher.test-comp": {
              "testCollection": {
                "populate": {
                  "testval": {
                    "populate": {
                      "my_hr_bundles": {
                        "populate": {
                          "mainImage": true,
                          "thumbImage": true,
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
      }
    });

Response :

{
  "id": 1,
  "documentId": "htonmeis1bftqprxl6dtnheo",
  "field": "svwegweg",
  "createdAt": "2024-09-29T08:36:46.869Z",
  "updatedAt": "2024-09-29T09:36:36.482Z",
  "publishedAt": null,
  "locale": null,
  "testVal": [
    {
      "__component": "voucher.test-comp",
      "id": 1,
      "compField": "wvwegwegbw"
    }
  ]
}