Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions modules/ROOT/pages/migration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ The following fields have been added:
- `implicitEqualFilters`
- `deprecatedOptionsArgument`
- `directedArgument`
- `directedArgument`
- `connectOrCreate`
- `typename_IN`

=== Removed some `@cypher` fields from the sort argument

Expand Down Expand Up @@ -553,3 +556,7 @@ Following the deprecation of the `directed` argument, the values accepted by the
- `UNDIRECTED_ONLY` is renamed to `UNDIRECTED`.

A warning is raised if you use a deprecated value.

=== Deprecated `typename_IN` filter in favour of `typename`

`typename_IN` filter has been deprecated in favor of `typename`.
9 changes: 6 additions & 3 deletions modules/ROOT/pages/optimization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ const neoSchema = new Neo4jGraphQL({
driver,
features: {
excludeDeprecatedFields: {
implicitEqualFilters: true;
deprecatedOptionsArgument: true;
directedArgument: true;
implicitEqualFilters: true,
implicitSet: true,
deprecatedOptionsArgument: true,
directedArgument: true,
connectOrCreate: true,
typename_IN: true,
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries-aggregations/filtering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ The query returns all movies which have "Action" as one of their genres.

== Interface filtering

You can use the `typename_IN` filter to filter interfaces.
You can use the `typename` filter to filter interfaces.
Refer to xref:types/interfaces.adoc#type-definitions-interfaced-types-querying[Type definitions -> Type -> Interface] for more details and an example.

== Relationship filtering
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/types/interfaces.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ query GetProductionsStartingWithThe {
}
----

The following query will only return the movies with title starting with "The " for each actor by filtering them by `typename_IN`:
The following query will only return the movies with title starting with "The " for each actor by filtering them by `typename`:

[source, graphql, indent=0]
----
query GetMoviesStartingWithThe {
actors {
name
actedIn(where: { node: { title_STARTS_WITH: "The ", typename_IN: [Movie] } }) {
actedIn(where: { node: { title_STARTS_WITH: "The ", typename: [Movie] } }) {
title
... on Movie {
runtime
Expand Down
Loading