Importing Dgraph 1.0.3 as dependency in "dep"


(Ajay) #1

Hello,

I use dep as a package manager and my Gopkg.toml contains 0.8.3 as dgraph dependency, which is working fine.

But now if I upgrade it to 1.0.3,
“dep ensure -v”
throws me an error:
(71) ✗ github.com/dgraph-io/dgraph/client at v1.0.3 has problem subpkg(s):
(71) github.com/dgraph-io/dgraph/client has err (*build.NoGoError); required by (root).

I suspect the reason might be proto files in client packages are not compiled. I can say that since they are compiled in 0.8.3
Any inputs on how to get around this?

Thanks.


(Pawan Rawal) #2

We stopped supporting embedded Dgraph from v0.9.0 onwards. See release notes at https://github.com/dgraph-io/dgraph/releases/tag/v0.9.0.

So you’ll have to run Dgraph Zero and Server as a separate processes.


(Ajay) #3

I am not talking about embedding it.
My code that uses dgraph/client has a dependency on it and dep the package managing tool while resolving this dependency, imports dgraph code into vendor folder of the code.

But while resolving this dependency it is failing.


(system) #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.