Skip to content

Commit 1a3c00d

Browse files
authored
Merge pull request #147 from neo4j/fix-docs-for-aggregation-default-4.x
Fix docs for aggregation default 4.x
2 parents 5928317 + d9190b3 commit 1a3c00d

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -910,22 +910,6 @@ type Record @limit(default: 10, max: 100) {
910910
They can be used to configure not only if fields are readable or writable, but also when they should be readable or writable.
911911
a|* `@readonly` -> `@settable(onCreate: false, onUpdate: false)`
912912
* `@writeonly` -> `@selectable(onRead: false, onAggregate: false)`
913-
914-
|`@query` and `@relationship`
915-
|Aggregation operations are no longer generated by default.
916-
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`].
917-
a|
918-
[source, graphql, indent=0]
919-
----
920-
type Movie {
921-
title: String!
922-
}
923-
924-
type Actor @query(aggregate: true) {
925-
name: String!
926-
actedIn: [Movie!]! @relationship(type: "ACTED_IN", direction: OUT, aggregate: true)
927-
}
928-
----
929913
|===
930914

931915
[relationship-aggregate]

modules/ROOT/pages/schema-configuration/type-configuration.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ This directive is used to limit the availability of query operations in the libr
4949
directive @query(read: Boolean! = true, aggregate: Boolean! = false) on OBJECT | SCHEMA
5050
----
5151

52-
[NOTE]
53-
====
54-
Aggregations are no longer generated by default in the 4.0.0 version of the library.
55-
See xref:migration/index.adoc#_updated_directives[Updated directives] for more information.
56-
====
57-
5852
=== Usage
5953

6054
.Disable _movies_ and _moviesConnection_ operations

0 commit comments

Comments
 (0)