Thanks, this is important as dgraph-js-http is different.
Conditional Upserts we do like this
it is very similar to what you’re doing. Only the sets are different.
Cheers.