-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi! Thanks for the great library π!
I have a question:
Is there a way to avoid N+1 problems when mapping collections from DTO using transformers/providers (e.g. I keep identifiers in the DTOs and I want them to be loaded from the DB)? Unfortunately I couldn't find a clear answer to my question in the documentation.
The most obvious solution is to retrieve the required objects from the database in advance, before mapping, and pass them to the context. And then pass those objects from the context, but it seems to me that this is not a good solution. Is there another way to map collections?
Thanks in advance!
zinkovskiy, ukickeru, bitpetr, NordSpirit4567, nkylinenko and 2 more
Metadata
Metadata
Assignees
Labels
No labels