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 @@ -533,3 +533,14 @@ The `directed` argument was used to change the query direction of the relationsh
533
533
534
534
The `directed` argument in `@relationship` fields is deprecated and will be removed in the future.
535
535
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.
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