Comments (4)
Yes, this is possible and I think this will be a good addition. I will add an option parameter to individual method calls and also to the DgraphClientStub contructor (https://grpc.io/grpc/node/grpc.Client.html).
from dgraph-js.
Thanks @gpahal!
from dgraph-js.
I've added the basic functionality in v1.0.4-beta.3. It's available with the next tag:
npm install dgraph-js@next grpc --save
You can pass an additional argument of type grpc.CallOptions
to the DgraphClient#alter
, Txn#query
, Txn#queryWithVars
, Txn#mutate
, Txn#commit
and Txn#discard
methods.
from dgraph-js.
Done in v1.0.4
from dgraph-js.
Related Issues (20)
- Add tests for upsert with graphql variables
- Dgraph unique identifier HOT 1
- GRPC Error on many simultaneous connections HOT 6
- when running a mutation unable to get the response in JSON
- Can't run multiple mutations in same transaction HOT 1
- Module import requires unsafe-eval in script content security policy directive HOT 2
- RFC: enhancement over dgraph schema HOT 6
- GitHub issues are being deprecated. HOT 1
- Does Dgraph support Dgraph Module for Nestjs ? HOT 1
- too many request
- CVE-2023-28155
- Uncaught error - when ACL feature is turned on, and login credentials not passed HOT 2
- Getting error when running doRequest HOT 11
- Upsert should always return the uid HOT 3
- Mutate is not part of dgraph.API as of v1.1.0 HOT 1
- Upgrade google-protobuf dependency version to 3.8.0+
- TypeError: Cannot read property "serializeBinary" of undefined HOT 1
- Simple example throws error: "Missing colon in type declaration." HOT 6
- Documentation on pre-v7.6 examples should be removed HOT 2
- Update test cases to support multiple mutations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgraph-js.