Skip to content

Commit 47e7f29

Browse files
Make it clearer the BOTH is an option for the relation direction (#104)
1 parent 4792d3f commit 47e7f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ The literal values are turned into Cypher query parameters.
308308
=== Handle Relationships via @relation Directive on Schema Fields
309309

310310
If you want to represent a relationship from the graph in GraphQL you have to add a `@relation` directive which contains the relationship-type and the direction.
311-
The default relationship-type is 'OUT'.
311+
The default direction for a relationship is 'OUT'. Other values are 'IN' and 'BOTH'.
312312
So you can use different domain names in your GraphQL fields that are independent of your graph model.
313313

314314
[source,graphql]
@@ -465,7 +465,7 @@ ORDER BY person.name ASC, person.age DESC
465465

466466
NOTE: We don't yet support ordering on nested relationship fields.
467467

468-
=== @relationship on Types
468+
=== Handle Rich Relationships via @relation Directive on Schema Types
469469

470470
To represent rich relationship types with properties, a `@relation` directive is supported on an object type.
471471

0 commit comments

Comments
 (0)