System Information
- Strapi Version: 4.0.4
- Operating System: Mac, docker
- Database: postragsql
- Node Version: 16
- NPM Version: 8.1
- Yarn Version: 1.22.17
Hi I am trying to populate for component or relation data while using create or update service, I know I can populate them with findMany, but I want to reduce requests to database , so is that possible ?
I tried something like that, but it didn’t work:
const response = await super
.create(ctx, { populate: { relationName: true } })
.catch((err) => {
ctx.internalServerError(err);
});
Thanks for the help