Hi, how can i pass additional data when uploading ...
# prisma-whats-new
s
Hi, how can i pass additional data when uploading a file? example i want to pass userId of user who uploads it
n
@sachins right now you can't do that when uploading a file
but the file upload returns the node if of the new file
that way you can call a mutation after the file upload that connects the file node to the user node
s
Yes, i figured it out. Now, i'm exactly doing that
👍 1
thanks 🙂