is there a way to get the user id of who initiated that mutation in a function? I basically want to add a createdBy column to every type and set it in a function (to avoid doing it client side)
n
nilan
07/14/2017, 9:46 PM
check the included
context
c
cj
07/14/2017, 9:48 PM
@nilan I did, it's just
context: { headers: {} } }
in the pipeline
cj
07/14/2017, 10:01 PM
looks like the only way to do it, is set it client side