Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecations for ID aggregations. #228

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions modules/ROOT/pages/migration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -560,3 +560,7 @@ A warning is raised if you use a deprecated value.
=== Deprecated `typename_IN` filter in favor of `typename`

`typename_IN` filter has been deprecated in favor of `typename`.

=== Deprecated aggregations on ID fields

Aggregations on ID fields are now deprecated and will be removed in the future.
1 change: 1 addition & 0 deletions modules/ROOT/pages/optimization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const neoSchema = new Neo4jGraphQL({
directedArgument: true,
connectOrCreate: true,
typename_IN: true,
idAggregations: true,
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/queries-aggregations/aggregations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Based on the type definitions, here is a list of fields that accept aggregations
|===
| Type | Aggregating function | Example

| String (e.g. `ID`, `String`)
| String (e.g. `String`)
| `shortest`, `longest`
a|
.Longest User name
Expand Down
Loading