neo4j-graphql-java icon indicating copy to clipboard operation
neo4j-graphql-java copied to clipboard

Align @relationship directive

Open Andy2003 opened this issue 3 years ago • 0 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
}

Andy2003 avatar Mar 05 '21 16:03 Andy2003