diff --git a/modules/ROOT/pages/guides/v4-migration/index.adoc b/modules/ROOT/pages/guides/v4-migration/index.adoc index 2d4b043f..01f61186 100644 --- a/modules/ROOT/pages/guides/v4-migration/index.adoc +++ b/modules/ROOT/pages/guides/v4-migration/index.adoc @@ -559,27 +559,6 @@ const neoSchema = new Neo4jGraphQL({ }) ---- -[[opt-in-aggregation]] -=== Opt-in Aggregation - -Aggregation operations are no longer generated by default. -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`]. - - -You can enable the operation fields `actorsAggregate` and `actedInAggregate` like this: - -[source, graphql, indent=0] ----- -type Movie { - title: String! -} - -type Actor @query(aggregate: true) { - name: String! - actedIn: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT, aggregate: true) -} ----- - === Session configuration Session configuration is now available only in the context under the `sessionConfig` key. diff --git a/modules/ROOT/pages/type-definitions/schema-configuration/type-configuration.adoc b/modules/ROOT/pages/type-definitions/schema-configuration/type-configuration.adoc index c1978a5a..4d7285ac 100644 --- a/modules/ROOT/pages/type-definitions/schema-configuration/type-configuration.adoc +++ b/modules/ROOT/pages/type-definitions/schema-configuration/type-configuration.adoc @@ -46,12 +46,6 @@ This directive is used to limit the availability of query operations in the libr directive @query(read: Boolean! = true, aggregate: Boolean! = false) on OBJECT | SCHEMA ---- -[NOTE] -==== -Aggregations will no longer be generated by default in the 4.0.0 version of the library. -See xref::guides/v4-migration/index.adoc#opt-in-aggregation[`Opt-in Aggregation`] for more information. -==== - === Usage ==== Disable _movies_ and _moviesConnection_ operations