await strapi.entityService.findMany("api::device-collection.device-collection", {
populate: {
devices: {
populate: {
stores: true,
expertScore: true,
images: true,
specification: true
}
}
}
});
This is the query that I have.
When I hover over type hinting I get this type:
const collections: ContentType<"api::device-collection.device-collection", Schema.NonPopulatableAttributeNames<"api::device-collection.device-collection">>[]
Is there a way to get a type that contains populated elements?
This topic has been created from a Discord post (1289692177630232649) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord