How do I fire a mutation with `graphcool-lib` that...
# prisma-whats-new
m
How do I fire a mutation with
graphcool-lib
that includes variables? Does something like
request.api(mutation)(variables)
work?
a
Documentation is on the graphcool-request readme that
graphcool-lib
is built on: https://github.com/graphcool/graphql-request#using-variables
Just replace
request
by
api.request
, the rest of the syntax is identical
m
Thank you!
😎 1