File tree Expand file tree Collapse file tree 1 file changed +43
-6
lines changed
modules/ROOT/pages/migration Expand file tree Collapse file tree 1 file changed +43
-6
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ The deprecated `_NOT` filters such as:
3030 - `_NOT_IN`
3131 - `_NOT_STARTS_WITH`
3232 - `_NOT_INCUDES`
33+ - `node_NOT`
34+ - `edge_NOT`
35+
3336
3437Are removed from the schema and no longer supported, to achieve the same result use the logical `NOT` operator.
3538
4144[source, graphql, indent=0]
4245----
4346query {
44- movies(where: { title_NOT: "The Matrix" }) {
45- title
46- }
47+ movies(where: { title_NOT: "The Matrix" }) {
48+ title
49+ }
50+ }
51+
52+ ----
53+ a|
54+ [source, graphql, indent=0]
55+ ----
56+ query {
57+ movies(where: { NOT: { title: "The Matrix" } }) {
58+ title
59+ }
60+ }
61+ ----
62+ |===
63+
64+ === The deprecated `_NOT` on `@relationship` filters are no longer supported
65+
66+ The deprecated `_NOT` filters on `@relationship` fields such as:
67+
68+ - `actors_NOT`
69+ - `actorsConnection_NOT`
70+
71+ Are removed from the schema and no longer supported, to achieve the same result use the `NONE` quantifier.
72+
73+ [cols="1,1"]
74+ |===
75+ |Before | Now
76+
77+ a|
78+ [source, graphql, indent=0]
79+ ----
80+ query {
81+ movies(where: { actors_NOT: { name: "Keanu" } }) {
82+ title
83+ }
4784}
4885----
4986a|
5087[source, graphql, indent=0]
5188----
5289query {
53- movies(where: { NOT : { title : "The Matrix " } }) {
54- title
55- }
90+ movies(where: { actors_NONE : { name : "Keanu " } }) {
91+ title
92+ }
5693}
5794----
5895|===
You can’t perform that action at this time.
0 commit comments