Skip to content

Commit 31f086b

Browse files
Merge branch '6.x' into add-breaking-change-on-invalid-sort
2 parents bd3a889 + 36bd9d1 commit 31f086b

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,3 +533,14 @@ The `directed` argument was used to change the query direction of the relationsh
533533

534534
The `directed` argument in `@relationship` fields is deprecated and will be removed in the future.
535535
Configure the query direction via the `queryDirection` and `direction` arguments of the `@relationship` directive instead.
536+
537+
=== Deprecated `@relationship.queryDirection` `_DEFAULT` and `_ONLY` options
538+
539+
Following the deprecation of the `directed` argument, the values accepted by the `@relationship.queryDirection` have changed:
540+
541+
- `DEFAULT_DIRECTED` is deprecated.
542+
- `DEFAULT_UNDIRECTED` is deprecated.
543+
- `DIRECTED_ONLY` is renamed to `DIRECTED`.
544+
- `UNDIRECTED_ONLY` is renamed to `UNDIRECTED`.
545+
546+
A warning is raised if you use a deprecated value.

modules/ROOT/pages/types/relationships.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,8 @@ type Person @node {
140140

141141
`queryDirection` can have the following values:
142142

143-
* `DEFAULT_DIRECTED` (default): all queries are **directed** by default, but users may perform undirected queries.
144-
* `DEFAULT_UNDIRECTED`: all queries are **undirected** by default, but users may perform directed queries.
145-
* `DIRECTED_ONLY`: only directed queries can be performed on this relationship.
146-
* `UNDIRECTED_ONLY`: only undirected queries can be performed on this relationship.
143+
* `DIRECTED`: only directed queries can be performed on this relationship.
144+
* `UNDIRECTED`: only undirected queries can be performed on this relationship.
147145

148146
== Inserting data
149147

0 commit comments

Comments
 (0)