Skip to content

Commit af24129

Browse files
mnd999Hunterness
andcommitted
Apply suggestions from code review
Co-authored-by: Therese Magnusson <[email protected]>
1 parent 24369a8 commit af24129

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For example, try to set a graph type with :
1313
[source,cypher]
1414
----
1515
ALTER CURRENT GRAPH TYPE SET {
16-
()-[:REL =>]-()
16+
()-[:REL =>]->()
1717
}
1818
----
1919

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ A correct definition is as follows:
2929
[source, cypher]
3030
----
3131
ALTER CURRENT GRAPH TYPE SET {
32-
(p :Person => {name :: STRING, age :: INT, studId ANY NOT NULL })
32+
(p :Person => {name :: STRING, age :: INT, studId :: ANY NOT NULL })
3333
}
3434
----
3535

0 commit comments

Comments
 (0)