Skip to content

Commit 3edf1fb

Browse files
Update modules/ROOT/pages/migration/index.adoc
Co-authored-by: Richard Sill <156673635+rsill-neo4j@users.noreply.github.com>
1 parent 7418a04 commit 3edf1fb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -554,14 +554,8 @@ new Neo4jGraphQL({
554554

555555
=== Deprecated `@unique` directive
556556

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.
565559

566560
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.
567561

0 commit comments

Comments
 (0)