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
error: data exception - invalid inner list type. Lists cannot have `{ <<typeDescription>> }` as an inner type in this context.
6
+
7
+
== Example scenario
8
+
9
+
For example, try to create a property type constraint with a list of a union as property type:
10
+
11
+
[source,cypher]
12
+
----
13
+
CREATE CONSTRAINT myConstraint
14
+
FOR (n:Label)
15
+
REQUIRE n.prop IS :: LIST<INTEGER NOT NULL | FLOAT NOT NULL>
16
+
----
17
+
18
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/50N11.adoc[50N11].
19
+
This error has a cause detailed in xref:errors/gql-errors/22N90.adoc[22N90], which also has a subsequent cause with GQLSTATUS 22NB9 and status description:
20
+
21
+
22
+
[source]
23
+
----
24
+
error: data exception - invalid inner list type. Lists cannot have a union of types as an inner type in this context.
0 commit comments