johannessen / neo4j-driver-perl

Neo4j graph database driver (Bolt/Jolt) for Perl
https://metacpan.org/pod/Neo4j::Driver
Artistic License 2.0
5 stars 1 forks source link

Add workaround for empty label lists via Bolt #11

Closed johannessen closed 3 years ago

johannessen commented 3 years ago

For a node without labels, Neo4j::Bolt 0.4201 reports the labels as undef rather than [], which results in:

Can't use an undefined value as an ARRAY reference at Neo4j/Driver/Type/Node.pm line 26.

I think this may really be due to majensen/perlbolt#19. But of course the driver should just work around that if necessary.

johannessen commented 3 years ago

Fixed in 0.21.