Join Slack
Powered by
Are multiple mutations (bundled in a single graphq...
# prisma-whats-new
m
mannigan
03/30/2017, 4:26 PM
Are multiple mutations (bundled in a single graphql) request transactional?
n
nilan
03/30/2017, 7:56 PM
@mannigan
no. each mutation is transactional on their own (excluding nested mutations). if a mutation fails, subsequent mutations are not executed
m
mannigan
03/30/2017, 9:02 PM
are nested mutations transactional?
mannigan
03/30/2017, 9:02 PM
i think thats what you just said but i wanted to be sure
n
nilan
03/30/2017, 9:03 PM
no, with nested mutation each is transactional on their own
nilan
03/30/2017, 9:03 PM
but there is not a transaction spanning both
Open in Slack
Previous
Next