File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -525,3 +525,14 @@ The `directed` argument was used to change the query direction of the relationsh
525
525
526
526
The `directed` argument in `@relationship` fields is deprecated and will be removed in the future.
527
527
Configure the query direction via the `queryDirection` and `direction` arguments of the `@relationship` directive instead.
528
+
529
+ === Deprecated `@relationship.queryDirection` `_DEFAULT` and `_ONLY` options
530
+
531
+ Following the deprecation of the `directed` argument, the values accepted by the `@relationship.queryDirection` have changed:
532
+
533
+ - `DEFAULT_DIRECTED` is deprecated.
534
+ - `DEFAULT_UNDIRECTED` is deprecated.
535
+ - `DIRECTED_ONLY` is renamed to `DIRECTED`.
536
+ - `UNDIRECTED_ONLY` is renamed to `UNDIRECTED`.
537
+
538
+ A warning is raised if you use a deprecated value.
Original file line number Diff line number Diff line change @@ -140,10 +140,8 @@ type Person @node {
140
140
141
141
`queryDirection` can have the following values:
142
142
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.
147
145
148
146
== Inserting data
149
147
You can’t perform that action at this time.
0 commit comments