I'm new to Hasura and I'd like to know if it is possible to use the return values of an action in the following mutation?
How can I do something like this?:
mutation MyMutation($address: String = "") {
mapUser(objects: {address: $address}) {
returning {
newAddress
}
}
insert_user_one(object: {user: mapUser.newAddress}) {
returning {
id
}
}
}