Skip to content

Commit c9ebd7a

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

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= 22NC3
22

33
== Status description
4-
error: data exception - relationship element type is ineffectual. The relationship element type `{ <<relType>> }` must define a source or destination, or at least one property type.
4+
error: data exception - relationship element type is ineffectual. The relationship element type `{ <<relType>> }` must define a source, destination, or at least one property type.
55

66
== Explanation
77
When defining a graph type, relationship element types must have some effect. To be effective, a relationship element type must define at least one of the following:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For example, try to set a property existence constraint on a property for the la
1515
----
1616
ALTER CURRENT GRAPH TYPE SET {
1717
(p:Person => {name :: STRING}),
18-
CONSTRAINT FOR (p:Person =>) REQUIRE p.name IS NOT NULL,
18+
CONSTRAINT FOR (p:Person =>) REQUIRE p.name IS NOT NULL
1919
}
2020
----
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For example, try to set a property type constraint on a property for the relatio
1515
----
1616
ALTER CURRENT GRAPH TYPE SET {
1717
()-[:REL => {name :: ANY NOT NULL}]->(),
18-
CONSTRAINT FOR ()-[r:REL =>]->() REQUIRE r.name IS :: STRING,
18+
CONSTRAINT FOR ()-[r:REL =>]->() REQUIRE r.name IS :: STRING
1919
}
2020
----
2121

0 commit comments

Comments
 (0)