Build Complex Schema Relationships with the @cypher Directive in neo4j-graphql-js

InstructorMatt Ross

Share this video with your friends

Send Tweet

We will use the @cypher directive provided by neo4j-graphql-js to return data about how nodes are related to each other in our schemas without writing custom resolvers.

Vijay
~ 6 years ago

Hello Matt,

Thanks for the great course.

I've been working on JanusGraph which uses the TinkerPop API for handling graph queries. I really liked the idea of GraphQL because of the convenience it offers it mutating data models. To achieve a similar behavior, I had to write my own functions that would mutate the graph result and then create an JSON data object (as an intermediate step) before serving it to the front-end.

After viewing the course, I noticed how easy it would become if the Graph Db Engine could generate the mutations for us. Do you have any idea about any GraphQL drivers that can be integrated with Databases such as JanusGraph to achieve a similar result ?

Thanks Vijay

cognivore
~ 3 years ago

Hi, Matt!

I wonder how does one typecheck GraphQL schemas to make typesafe APIs?