User Activity

Hello everyone, I am trying to collect() a custom object, so I can return a nested object. I'm using the following query : MATCH (node)--(g:Group) WHERE g.type = '{group}' AND id(node) = {id} OPTIONAL MATCH (node)-[:HAS_PROPERTY]->(prop) ...
Kudos given to