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/errors/gql-errors/22NC2.adoc
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
= 22NC2
2
2
3
3
== Status description
4
-
error: data exception - node element type is ineffectual. The node element type `{ <<label>> }` must contain one or more implied labels, or at least one property type.
4
+
error: data exception - node element type has no effect. The node element type `{ <<label>> }` must contain one or more implied labels, or at least one property type.
5
5
6
6
== Explanation
7
7
When defining a graph type, node element types must have some effect; otherwise, they are not allowed.
8
-
Ineffectual node element types are not permitted.
9
8
10
9
== Example scenario
11
10
For example, try to set a graph type as follows:
@@ -21,7 +20,7 @@ The query returns an error with GQLSTATUS 22NC2 and the status description:
21
20
22
21
[source]
23
22
----
24
-
error: data exception - node element type is ineffectual. The node element type `Node` must contain one or more implied labels, or at least one property type.
23
+
error: data exception - node element type is has no effect. The node element type `Node` must contain one or more implied labels, or at least one property type.
25
24
----
26
25
27
26
To fix this, define at least one property type or add an implied label, for example:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22NC3.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= 22NC3
2
2
3
3
== Status description
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.
4
+
error: data exception - relationship element type has no effect. The relationship element type `{ <<relType>> }` must define a source, destination, or at least one property type.
5
5
6
6
== Explanation
7
7
When defining a graph type, relationship element types must have some effect.
@@ -25,7 +25,7 @@ The query returns an error with GQLSTATUS 22NC3 and the status description:
25
25
26
26
[source]
27
27
----
28
-
error: data exception - relationship element type is ineffectual. The relationship element type `REL` must define a source or destination, or at least one property type.
28
+
error: data exception - relationship element type has no effect. The relationship element type `REL` must define a source or destination, or at least one property type.
29
29
----
30
30
31
31
To fix this, define at least one property type or add a node element type, for example:
0 commit comments