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.

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.