diff --git a/.changeset/kind-tigers-sleep.md b/.changeset/kind-tigers-sleep.md new file mode 100644 index 0000000000..e171d39d98 --- /dev/null +++ b/.changeset/kind-tigers-sleep.md @@ -0,0 +1,27 @@ +--- +"@neo4j/graphql": major +--- + +Removed deprecated `_NOT` filters, use the Boolean operator `NOT` instead. + +** deprecated syntax ** +```graphql +query { + movies(where: { title_NOT: "The Matrix" }) { + title + } +} + +``` + +** recommended syntax ** + +```graphql +query { + movies(where: { NOT: { title: "The Matrix" } }) { + title + } +} +``` + +As part of the change, the option: `negationFilters` was removed from the `excludeDeprecatedFields` settings.