Tag: dgraph
-
how to implement graphql with java with nebula graph like dgraph
1 I have a java project I have a nebula graph to save all my information I need to have graphql queries I implement it but we need a dynamic schema so we save our schema for any of dynamic entity types for example our users want to have dynamic datatypes that we implement and…
-
Do I need to close client stub after every request?
0 I am using dgraph-js and have an app.ts file which holds all the services variables such like the client stub export const dgraphStub = dgraph.clientStubFromCloudEndpoint( process.env.DGRAPH_URI!, process.env.DGRAPH_KEY! ); export const dgraphClient = new dgraph.DgraphClient(dgraphStub); dgraphClient.setDebugMode(true); Now when I do something in dgraph like below async function GetComment(commentId: string): Promise<IComment> { const txn = dgraphClient.newTxn({…