Skip to content

Commit 9eff486

Browse files
mnd999Hunterness
andauthored
Apply suggestions from code review
Co-authored-by: Therese Magnusson <[email protected]>
1 parent 2c794e1 commit 9eff486

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

modules/ROOT/pages/errors/gql-errors/22NC4.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A label cannot be both "identifying" (used to uniquely identify nodes) and "impl
99
Attempting to define a label as both will result in this error, as it creates ambiguity in the schema definition and node identification process.
1010

1111
== Example scenario
12-
For example, try to set a graph type which defines the node element types 'Person and 'Student' with the label 'Person' also declared as an implied label on the 'Student' node element type:
12+
For example, try to set a graph type which defines the node element types 'Person' and 'Student' with the label 'Person' also declared as an implied label on the 'Student' node element type:
1313

1414
[source,cypher]
1515
----

modules/ROOT/pages/errors/gql-errors/22NC6.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
= 22NC6
22

33
== Status description
4-
The independent constraint `{ <<constrDescrOrName>> }`` was defined using the same label `{ <<label>> }` as a node type element.
4+
The independent constraint `{ <<constrDescrOrName>> }` was defined using the same label `{ <<label>> }` as a node type element.
55

66
== Explanation
77
This error occurs when a label is used both as an identifying label (defining a node type element) and as part of an independent constraint.
88
A label cannot serve as both an identifying label and be referenced in an independent constraint at the same time.
99

1010
== Example scenario
11-
For example, try to set an existance constraint on a property for the label `:Person`` where `:Person` is also defined as an identifying label in the graph type:
11+
For example, try to set an existance constraint on a property for the label `:Person` where `:Person` is also defined as an identifying label in the graph type:
1212

1313
[source,cypher]
1414
----

modules/ROOT/pages/errors/gql-errors/22NC7.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This error occurs when a relationship type is used both as an identifying relaio
88
A label cannot serve as both an identifying label and be referenced in an independent constraint at the same time.
99

1010
== Example scenario
11-
For example, try to set an existance constraint on a property for the relationship type `:REL`` where `:REL` is also defined as an identifying relationship type in the graph type:
11+
For example, try to set an existance constraint on a property for the relationship type `:REL` where `:REL` is also defined as an identifying relationship type in the graph type:
1212

1313
[source,cypher]
1414
----

0 commit comments

Comments
 (0)