Can anyone point me to tips on adding an item to a...
# prisma-whats-new
r
Can anyone point me to tips on adding an item to a one-to-many relation? Say you’ve got
post
with a one-to-many relation to
comment
. You want to add one comment. If I use the
createComment
mutation it creates the comment but doesn’t associate it with the
post
until I update the post as well. Is there a nifty way to do this with nested mutations?