2 ms·
Interesting approach for using GraphQL with a graph database. There is also an integration for Neo4j [1] that works similarly (it translates GraphQL to Cypher)
by johnymontana 9y ago
Interesting approach for using GraphQL with a graph database.
There is also an integration for Neo4j [1] that works similarly (it translates GraphQL to Cypher), however it also exposes Cypher in GraphQL through a @cypher directive, which maps complex graph traversals/aggregations to a single GraphQL field.
[1] https://www.npmjs.com/package/neo4j-graphql-cli https://www.npmjs.com/package/neo4j-graphql-cli