Second Milestone Release of Neo4j GraphQL Java
Pre-release
Pre-release
This new release comes packed with a lot of features.
We added the following capabilities, which are also explained in the readme:
- handle relationships via @relation directive on schema fields
- @relation directive on types for rich relationships (from, to fields for start & end node)
- handle first, offset arguments
- argument types: string, int, float, array
- request parameter support
- parametrization for cypher query
- aliases
- inline and named fragments
- auto-generate query fields for all objects
- @cypher directive for fields to compute field values, support arguments
- auto-generate mutation fields for all objects to create, update, delete
- @cypher directive for top level queries and mutations, supports arguments
Groovy and Kotlin example test servers, we also added TCK tests for the different features.
You find them in these Markdown files.
Please check out the readme for documentation, more detailed docs will follow.
You only need the org.neo4j:neo4j-graphql-java:1.0.0-M02
dependency and a GraphQL schema to translate GraphQL to Cypher queries. Which you then can execute against a Neo4j database.
Please let us know if this library works for you, what are shortcomings and features you'd be interested in and raise a GitHub issue for those.