(put “x” in the box to select)
The sample app in Dgraph4j uses v20.11.0
In this line, it returns
new DgraphClient(stub), but looking at the source code, I only see a constructor that takes an array of stubs.
I am wondering if the sample app needs to be updated?
I have also noticed that the sample app doesn’t run without adding the following to build.gradle (ignore the versions):
compile 'com.google.code.gson:gson:2.8.5' compile 'org.slf4j:slf4j-api:1.6.1' compile 'org.slf4j:slf4j-simple:1.6.1'
Just need clarification on what’s the correct way of creating a client.