Skip to content

Commit d1b33c8

Browse files
add _NOT as breaking changes
1 parent a9d398f commit d1b33c8

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,42 @@ npm update @neo4j/graphql
2020

2121
Here is a list of all the breaking changes from version 5.0.0 to 6.0.0.
2222

23+
=== The deprecated `_NOT` filters are no longer supported
24+
25+
The deprecated `_NOT` filters such as:
26+
27+
- `_NOT`
28+
- `_NOT_CONTAINS`
29+
- `_NOT_ENDS_WITH`
30+
- `_NOT_IN`
31+
- `_NOT_STARTS_WITH`
32+
- `_NOT_INCUDES`
33+
34+
Are removed from the schema and no longer supported, to achieve the same result use the logical `NOT` operator.
35+
36+
[cols="1,1"]
37+
|===
38+
|Before | Now
39+
40+
a|
41+
[source, graphql, indent=0]
42+
----
43+
query {
44+
movies(where: { title_NOT: "The Matrix" }) {
45+
title
46+
}
47+
}
48+
----
49+
a|
50+
[source, graphql, indent=0]
51+
----
52+
query {
53+
movies(where: { NOT: { title: "The Matrix" } }) {
54+
title
55+
}
56+
}
57+
----
58+
|===
2359

2460
== Deprecations and warnings
2561

0 commit comments

Comments
 (0)