Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions modules/ROOT/pages/migration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,42 @@ npm update @neo4j/graphql

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

=== The deprecated `_NOT` filters are no longer supported

The following deprecated `NOT` filters are removed from the schema since they are no longer supported:

- `_NOT`
- `_NOT_CONTAINS`
- `_NOT_ENDS_WITH`
- `_NOT_IN`
- `_NOT_STARTS_WITH`
- `_NOT_INCUDES`

To achieve the same in version 6.x of the GraphQL library, use the xref:/queries-aggregations/filtering.adoc#_boolean_operators[boolean `NOT` operator] instead.

[cols="1,1"]
|===
|Before | Now

a|
[source, graphql, indent=0]
----
query {
movies(where: { title_NOT: "The Matrix" }) {
title
}
}
----
a|
[source, graphql, indent=0]
----
query {
movies(where: { NOT: { title: "The Matrix" } }) {
title
}
}
----
|===

== Deprecations and warnings

Expand Down