how to implement graphql with java with nebula graph like 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 save in nebula graph

our users can save vertex as items

after that we need to have endpoint for query in our all vertex that saved by those data types

how to implement graphql with java with nebula graph like dgraph

https://dgraph.io/docs/graphql/queries/search-filtering/

we need to post our request like this

how can we implement it better

we have a good cache of our datatypes in the java layer.

is there any suggestion for us?

1 Answer
1


1

For now, there is no GraphQL support/parsing layer implementation for NebulaGraph.

For java connector, there are some abstraction layers there, could you take a look at them?

Also, equivlant queries(towards graphql) could be composed, too to return complex things in OpenCypher.



Leave a Reply

Your email address will not be published. Required fields are marked *