From d9190b3a2d665772c38c923ad85e71c57840d9ab Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 15 May 2024 09:14:29 +0200 Subject: [PATCH] removed an admonition block and a migration guide entry with docs updates which never made it live --- modules/ROOT/pages/migration/index.adoc | 16 ---------------- .../schema-configuration/type-configuration.adoc | 6 ------ 2 files changed, 22 deletions(-) diff --git a/modules/ROOT/pages/migration/index.adoc b/modules/ROOT/pages/migration/index.adoc index 0c2da31e..5dcaa3dc 100644 --- a/modules/ROOT/pages/migration/index.adoc +++ b/modules/ROOT/pages/migration/index.adoc @@ -910,22 +910,6 @@ type Record @limit(default: 10, max: 100) { They can be used to configure not only if fields are readable or writable, but also when they should be readable or writable. a|* `@readonly` -> `@settable(onCreate: false, onUpdate: false)` * `@writeonly` -> `@selectable(onRead: false, onAggregate: false)` - -|`@query` and `@relationship` -|Aggregation operations are no longer generated by default. -They can be enabled case by case using the directives xref::/schema-configuration/type-configuration.adoc#_query[`@query`] and xref::/schema-configuration/field-configuration.adoc#_relationship[`@relationship`]. -a| -[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) -} ----- |=== [relationship-aggregate] diff --git a/modules/ROOT/pages/schema-configuration/type-configuration.adoc b/modules/ROOT/pages/schema-configuration/type-configuration.adoc index c303ef19..a56d9489 100644 --- a/modules/ROOT/pages/schema-configuration/type-configuration.adoc +++ b/modules/ROOT/pages/schema-configuration/type-configuration.adoc @@ -49,12 +49,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 are no longer generated by default in the 4.0.0 version of the library. -See xref:migration/index.adoc#_updated_directives[Updated directives] for more information. -==== - === Usage .Disable _movies_ and _moviesConnection_ operations