Skip to content
Closed
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
41 changes: 41 additions & 0 deletions modules/ROOT/pages/migration/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -564,3 +564,44 @@ A warning is raised if you use a deprecated value.
=== Deprecated aggregations on ID fields

Aggregations on ID fields are now deprecated and will be removed in the future.


=== Deprecated aggregation operations

Explicit aggregation operations, both top-level and nested, have been deprecated in favor of the `aggregate` field inside connection operations.

For example:

[source, graphql, indent=0]
----
query {
moviesAggregate {
count
title {
shortest
}
}
}
----

The previous query is deprecated in favor of the following:

[source, graphql, indent=0]
----
query {
moviesConnection {
aggregate {
node {
title {
shortest
}
}
count {
nodes
}
}
}
}
----

Note that `count` now returns the explicit fields `nodes` and `edges`.