Skip to content

Commit 08e9c96

Browse files
Merge pull request #225 from MacondoExpress/add-new-deprecations-and-typename_IN
renamed typename_IN filter to typename, added missing deprecations
2 parents f206a56 + 3b33a54 commit 08e9c96

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ The following fields have been added:
312312
- `implicitEqualFilters`
313313
- `deprecatedOptionsArgument`
314314
- `directedArgument`
315+
- `directedArgument`
316+
- `connectOrCreate`
317+
- `typename_IN`
315318

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

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

555558
A warning is raised if you use a deprecated value.
559+
560+
=== Deprecated `typename_IN` filter in favor of `typename`
561+
562+
`typename_IN` filter has been deprecated in favor of `typename`.

modules/ROOT/pages/optimization.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ const neoSchema = new Neo4jGraphQL({
2323
driver,
2424
features: {
2525
excludeDeprecatedFields: {
26-
implicitEqualFilters: true;
27-
deprecatedOptionsArgument: true;
28-
directedArgument: true;
26+
implicitEqualFilters: true,
27+
implicitSet: true,
28+
deprecatedOptionsArgument: true,
29+
directedArgument: true,
30+
connectOrCreate: true,
31+
typename_IN: true,
2932
},
3033
},
3134
});

modules/ROOT/pages/queries-aggregations/filtering.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ The query returns all movies which have "Action" as one of their genres.
333333

334334
== Interface filtering
335335

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

339339
== Relationship filtering

modules/ROOT/pages/types/interfaces.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ query GetProductionsStartingWithThe {
6565
}
6666
----
6767

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

7070
[source, graphql, indent=0]
7171
----
7272
query GetMoviesStartingWithThe {
7373
actors {
7474
name
75-
actedIn(where: { node: { title_STARTS_WITH: "The ", typename_IN: [Movie] } }) {
75+
actedIn(where: { node: { title_STARTS_WITH: "The ", typename: [Movie] } }) {
7676
title
7777
... on Movie {
7878
runtime

0 commit comments

Comments
 (0)