-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Currently the DGraphium client implementation relies on the gRPC dgraph-js client which is not designed to be used in the browser.
DGraph publishes https://github.com/dgraph-io/dgraph-js-http for browser envs.
I see two possible approaches to implement:
-
Add browser support to @dgraphium/client by implementing the same interface but using https://github.com/dgraph-io/dgraph-js-http instead, then generating a bundle with the implementation and making it available using the https://docs.npmjs.com/files/package.json#browser field, or
-
Create a new package, i.e. @dgraphium/http-client
Thoughts?