I’m using the Document Service API and it seems Typescript-Definitions do not support populated items:
const entities = await strapi
.documents("api::parent.parent")
.findOne({ documentId, populate: ["child"] });
console.log(entities.child) // TS-Compiler says `child` does not exist
Is this a limitation or am I missing sth?
This topic has been created from a Discord post (1271573893949165750) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord