setJson mutation failing APIError: Invalid mutation.
chandu0101 opened this issue · 1 comments
chandu0101 commented
val txn = ctx.dgraph.newTxn()
val o = json(name = arg.input.name)
txn.mutate(DgraphMutation( setJson = o ))above code is scala.js
Error :
APIError: Invalid mutation.
Note: setNquads is working fine ...
chandu0101 commented
working fine on latest version of dgraph.