Skip to content
Closed
Changes from 2 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 Aggregate operations

Explicit Aggregate operations, both top level and nested, have been deprecated in favor of the fields `aggregate` inside Connection operations.

So, for example:

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

Is deprecated in favor of:

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

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