Support DQL variables in mutations

@MichelDiz thanks for the answer!

Maybe I have to elaborate a bit more here. I think I know how to define the variables in a query but I have no clue how to submit/attach them with the mutation!

I’m using dql.mutate in a custom lambda and tried

dql.mutate({
  query: `query Test($uid: string) { q(func: uid($uid)) { uid }`,
  mutations:[{}],
  variables: { $uid: “0x1” }
})

But then I’m getting the error that a UID must be defined, which indicates that $uid is not getting submitted.