Skip to content

Commit 0a6034f

Browse files
addres PR comments
1 parent 0bc48f3 commit 0a6034f

File tree

1 file changed

+20
-28
lines changed

1 file changed

+20
-28
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,11 @@ Here is a list of all the breaking changes from version 6.0.0 to 7.0.0.
2323

2424
=== Removed the `@unique` directive
2525

26-
The `@unique` directive is no longer supported:
27-
28-
[source, graphql, indent=0]
29-
----
30-
type Movie {
31-
title: String! @unique
32-
}
33-
----
26+
The `@unique` directive is no longer supported.
3427

3528
=== Removed implicit filtering fields
3629

37-
Implicit filtering fields have been removed. You must now use the explicit versions:
30+
Implicit equality filtering fields have been removed. You must now use the dedicate input versions:
3831

3932
[cols="1,1"]
4033
|===
@@ -128,20 +121,19 @@ a|
128121
----
129122
|===
130123

131-
The `deprecatedOptionsArgument` of `excludeDeprecatedFields` has been removed.
124+
The `deprecatedOptionsArgument` option of `excludeDeprecatedFields` has been removed.
132125

133126
=== Removed the deprecated `directed` argument
134127

135128
The deprecated `directed` argument has been removed from queries. This argument previously allowed you to specify whether relationships should be directed or undirected at query time.
136129

137130
Please use the `queryDirection` argument of the `@relationship` directive instead.
138131

139-
The `directedArgument` setting of `excludeDeprecatedFields` has been removed.
132+
The `directedArgument` option of `excludeDeprecatedFields` has been removed.
140133

141134
=== Accepted values of the `queryDirection` argument of `@relationship` has been changed
142135

143-
Following the removal of the `directed` argument,
144-
the `queryDirection` argument of the `@relationship` directive now only accepts two possible values:
136+
Following the removal of the `directed` argument, the `queryDirection` argument of the `@relationship` directive now only accepts two possible values:
145137

146138
- `DIRECTED` (default)
147139
- `UNDIRECTED`
@@ -181,11 +173,11 @@ a|
181173
----
182174
|===
183175

184-
The `typename_IN` setting of `excludeDeprecatedFields` has been removed.
176+
The `typename_IN` option of `excludeDeprecatedFields` has been removed.
185177

186178
=== Aggregations are no longer generated for `ID` fields
187179

188-
`ID` fields are excluded from aggregation fields and aggregation filters.
180+
`ID` fields are excluded from aggregation selection sets and aggregation filters.
189181

190182
=== Single element relationships have been removed
191183

@@ -211,15 +203,15 @@ type Movie @node {
211203
----
212204
|===
213205

214-
Single element relationships cannot be reliably enforced, leading to a data inconsistent with the schema. If the GraphQL model requires 1-1 relationships (such as in federations) these can now be achieved with the `@cypher` directive instead:
206+
Single element relationships cannot be reliably enforced, leading to data inconsistent with the schema. If the GraphQL model requires 1-1 relationships (such as in federations) these can now be achieved with the `@cypher` directive instead:
215207

216208
[source, graphql, indent=0]
217209
----
218210
type Movie @node {
219211
director: Person
220212
@cypher(
221213
statement: """
222-
MATCH(this)-[:ACTED_IN]->(p:Person)
214+
MATCH (this)-[:ACTED_IN]->(p:Person)
223215
RETURN p
224216
"""
225217
columnName: "p"
@@ -261,7 +253,7 @@ The `connectOrCreate` operation has been removed due to limitations on its featu
261253

262254
=== Aggregate fields outside connection fields have been removed
263255

264-
Deprecated aggregate fields have been removed from the schema. Use aggregation fields within the connection fields instead.
256+
Deprecated aggregate fields have been removed from the schema. Use aggregation fields within the connection selection set instead.
265257

266258
[cols="1,1"]
267259
|===
@@ -291,11 +283,11 @@ query {
291283
----
292284
|===
293285

294-
The option `deprecatedAggregateOperations` has been removed from the `excludeDeprecatedFields` setting.
286+
The `deprecatedAggregateOperations` option has been removed from the `excludeDeprecatedFields` setting.
295287

296288
=== Subscriptions are now opt-in
297289

298-
Subscriptions were automatically generated for all `@node` types.
290+
Subscriptions are no longer automatically generated for all `@node` types.
299291

300292
In version 7.x, the `@subscription` directive is required to enable this functionality.
301293

@@ -543,9 +535,9 @@ query {
543535

544536
The new form uses the Relay Cursor Connections Specification, which allows for pagination using cursors and access to the `pageInfo` field.
545537

546-
=== Removed implicit set operation
538+
=== Removed implicit set operations
547539

548-
Implicit set operation in update mutations have been removed and the migration path involves two steps:
540+
Implicit set operations in update mutations have been removed and the migration path involves two steps:
549541

550542
[cols="1,1"]
551543
|===
@@ -581,7 +573,7 @@ mutation {
581573
----
582574
|===
583575

584-
The `implicitSet` argument of `excludeDeprecatedFields` has been removed.
576+
The `implicitSet` option of `excludeDeprecatedFields` has been removed.
585577

586578
=== The Neo4j GraphQL Library and @neo4j/introspector now require Node.js 22 or greater
587579

@@ -885,7 +877,7 @@ mutation {
885877
----
886878
|===
887879

888-
The `excludeDeprecatedFields` setting now contains the option `mutationOperations` to remove these deprecated operators:
880+
The `excludeDeprecatedFields` option now contains the option `mutationOperations` to remove these deprecated operators:
889881

890882
[source, javascript, indent=0]
891883
----
@@ -925,7 +917,7 @@ a|
925917
----
926918
|===
927919

928-
The `excludeDeprecatedFields` setting now contains the option `attributeFilters` to remove these deprecated filters:
920+
The `excludeDeprecatedFields` option now contains the option `attributeFilters` to remove these deprecated filters:
929921

930922
[source, javascript, indent=0]
931923
----
@@ -965,7 +957,7 @@ a|
965957
----
966958
|===
967959

968-
The `excludeDeprecatedFields` setting now contains the option `aggregationFiltersOutsideConnection` to remove these deprecated filters:
960+
The `excludeDeprecatedFields` option now contains the option `aggregationFiltersOutsideConnection` to remove these deprecated filters:
969961

970962
[source, javascript, indent=0]
971963
----
@@ -1011,7 +1003,7 @@ query Movies {
10111003
----
10121004
|===
10131005

1014-
The `excludeDeprecatedFields` setting now contains the option `aggregationFilters` to remove these deprecated filters:
1006+
The `excludeDeprecatedFields` option now contains the option `aggregationFilters` to remove these deprecated filters:
10151007

10161008
[source, javascript, indent=0]
10171009
----
@@ -1051,7 +1043,7 @@ a|
10511043
----
10521044
|===
10531045

1054-
The `excludeDeprecatedFields` setting now contains the option `relationshipFilters` to remove these deprecated filters:
1046+
The `excludeDeprecatedFields` option now contains the option `relationshipFilters` to remove these deprecated filters:
10551047

10561048
[source, javascript, indent=0]
10571049
----

0 commit comments

Comments
 (0)