do I use a pre hook or a custom resolver?
# prisma-whats-new
d
do I use a pre hook or a custom resolver?
l
They're normally sent as part of a signed JSON Web Token
d
?
I'm not sure you understood the queston
I'm aware of how to get a user from the JWT
I just don't know the correct way of using this info to update the node
l
You validate the token and extract the user/userId
d
I'm aware of how to get a user from the JWT
l
Ok, then best of luck with your question