-
When I make an update call that is creating nested objects, like this:
the response contains all of the products for the store, instead of only the newly created one. Is there some mechanism to tell Prisma to only select the nested objects that were created by the nested creates within the update? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @gjritter 👋 Please open a feature request here so that we can look into this further :) |
Beta Was this translation helpful? Give feedback.
Hey @gjritter 👋
Currently with this approach it wouldn't be possible just to fetch the newly created records, so as a workaround, you would have to fetch it again using the created post id's in a separate query.
Please open a feature request here so that we can look into this further :)