Skip to content

Commit

Permalink
Merge pull request #228 from MacondoExpress/deprecates-id-aggregations
Browse files Browse the repository at this point in the history
Add deprecations for ID aggregations.
  • Loading branch information
MacondoExpress authored Jan 13, 2025
2 parents 08e9c96 + 7dbc230 commit f4f3a97
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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

0 comments on commit f4f3a97

Please sign in to comment.