When I run dgraph server with the binaries version v0.9.4, i run the java client such as
Mutation.Builder b = Mutation.newBuilder(mu);
b.addDel(
NQuad.newBuilder()
.setSubject(uid)
.setPredicate(predicate)
.setObjectId(valueUid) // valueUid is the Object's uid
.build()
).build();
the server throw an exeption such as
Exception in thread "main" io.grpc.StatusRuntimeException: UNKNOWN: Please use * with delete operation for non-list type
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:210)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:191)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:124)
at io.dgraph.DgraphGrpc$DgraphBlockingStub.mutate(DgraphGrpc.java:298)
at io.dgraph.DgraphClient$Transaction.mutate(DgraphClient.java:211)
but when i run dgraph with the source code , i success delete the edge use the same java code
can anyone tell me why. (is the binaries version is not use the newest source code?)