Skip to content

Commit f0a3ff7

Browse files
mnd999renetapopova
authored andcommitted
change inneffectual to has no effect
1 parent 68ad791 commit f0a3ff7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

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

33
== 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.
55

66
== Explanation
77
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.
98

109
== Example scenario
1110
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:
2120

2221
[source]
2322
----
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.
2524
----
2625

2726
To fix this, define at least one property type or add an implied label, for example:

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

Lines changed: 2 additions & 2 deletions
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, 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.
55

66
== Explanation
77
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:
2525

2626
[source]
2727
----
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.
2929
----
3030

3131
To fix this, define at least one property type or add a node element type, for example:

0 commit comments

Comments
 (0)