If my client create’s a post for a user via `creat...
# prisma-whats-new
t
If my client create’s a post for a user via
createPost(userId: 'xyz')
, and I want to make an ajax call in an operationBefore hook, do I need to use graphcool-lib.api.request to get the userId’s details? Or is there a way to include that in the data/query that’s passed to my hook?
m
You’ll have to use graphcool-lib I’m pretty sure. That’s how I do it anyways...