Posted by chandu0101:
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 …
Posted by chandu0101:
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.