cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

UNWIND funtion is not accepting List of custom objects

Hi
I have a query to that unwinds the list of custom objects
But after upgrading to neo4j 4.2 it is not working
error is : : Unable to convert groovy.lang.MetaClassImpl to Neo4j Value.

3 REPLIES 3

Hmm cypher ususally only accepts parameters that are convertable into cypher types

So you would have to convert your groovy objects into maps/lists/primitives.

@michael.hunger Thanks for quick reply
I am converting that List of custom objects into List<Map<String, Object>>
with the help of PropertyUtils.describe (collect method)
Still facing same error

Are you sure that's doing a deep conversion?
And you need to use java List / Array / Map not groovy ones.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online