Skip to content

Commit f27cc97

Browse files
Apply suggestions from code review
Co-authored-by: Richard Sill <156673635+rsill-neo4j@users.noreply.github.com>
1 parent 49c1528 commit f27cc97

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

modules/ROOT/pages/migration/index.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,7 @@ This fix applies to both the new filter syntax and the deprecated filters (e.g.,
831831

832832
=== List of nullable elements no longer supported
833833

834-
The list of nullable elements is no longer supported in types annotated with the `@node` directive.
835-
836-
The following type definition is no longer supported:
834+
A list of nullable elements is no longer supported in types annotated with the `@node` directive, for example in the following type definition:
837835

838836
[source, graphql, indent=0]
839837
----
@@ -843,9 +841,10 @@ type Actor @node {
843841
}
844842
----
845843

846-
This is due the fact that Neo4j does not support storing NULL values as part of a List.
844+
This is due the fact that Neo4j does not support storing null values as part of a list.
845+
To create a similar but supported type definition, change the value of the `pseudonyms` field to a non-nullable list: `[String!]!`.
847846

848-
=== Interfaces and unions cannot be implemented by a mix of `@nodes` and no `@nodes` types.
847+
=== Interfaces and unions disallow mixing types with and without the `@node` directive
849848

850849
Interfaces and unions can only be implemented by types that are all annotated with the `@node` directive or none of them.
851850

0 commit comments

Comments
 (0)