neo4j-graphql / neo4j-graphql-java

Neo4j Labs Project: Pure JVM translation for GraphQL queries and mutations to Neo4j's Cypher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Align @relationship directive

Andy2003 opened this issue · comments

@relationship

  • rename @relation to @relationship
  • rename argument name to type, make type required
  • remove from
  • remove to
  • remove allowed on OBJECT
  • remove BOTH from RelationDirection
directive @relationship(type:String!, direction: RelationDirection = OUT) on FIELD_DEFINITION

enum RelationDirection {
  IN
  OUT
}