Skip to content

Commit 6dde83a

Browse files
committed
removed section on aggregation opt-in
1 parent decf733 commit 6dde83a

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

modules/ROOT/pages/guides/v4-migration/index.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -559,27 +559,6 @@ const neoSchema = new Neo4jGraphQL({
559559
})
560560
----
561561

562-
[[opt-in-aggregation]]
563-
=== Opt-in Aggregation
564-
565-
Aggregation operations are no longer generated by default.
566-
They can be enabled case by case using the directives xref::type-definitions/schema-configuration/type-configuration.adoc#_query[`@query`] and xref::type-definitions/schema-configuration/field-configuration.adoc#_relationship[`@relationship`].
567-
568-
569-
You can enable the operation fields `actorsAggregate` and `actedInAggregate` like this:
570-
571-
[source, graphql, indent=0]
572-
----
573-
type Movie {
574-
title: String!
575-
}
576-
577-
type Actor @query(aggregate: true) {
578-
name: String!
579-
actedIn: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT, aggregate: true)
580-
}
581-
----
582-
583562
=== Session configuration
584563

585564
Session configuration is now available only in the context under the `sessionConfig` key.

0 commit comments

Comments
 (0)