You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/migration/index.adoc
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -554,14 +554,8 @@ new Neo4jGraphQL({
554
554
555
555
=== Deprecated `@unique` directive
556
556
557
-
The `@unique` directive will no longer be supported in future versions:
558
-
[source, graphql, indent=0]
559
-
----
560
-
type Movie implements Production @node {
561
-
title: String! @unique
562
-
actors: [Actor!]! @relationship(type: "ACTED_IN", direction: IN, properties: "ActedIn")
563
-
}
564
-
----
557
+
The xref::/directives/indexes-and-constraints.adoc#_unique[`@unique`] directive will no longer be supported in future versions.
558
+
It cannot always be reliably enforced, potentially leading to data inconsistencies that don't match the schema.
565
559
566
560
The `@unique` directive has been removed as it could not always be reliably enforced, potentially leading to data inconsistencies that did not match the schema.
0 commit comments