[Neo4J] Provide alternatives ways to map collections

Description

Currently, we map a list as nodes connected to the owner node.

We should provide an option via annotations or a global configuration to map list as linked nodes.
Using Cypher, it would look something like:

1 (OWNER) --> (N0) -[:next]-> (N1) -[:next]-> (N2) -[:next]-> (N3)

Note that the two options don't have to be mutually exclusive, you could actually use both at the same time.

Mapping list as linked nodes seems a more Graph like solution and it seems that Neo4j is quite good at querying this kind of structure.

Something similar might be needed for maps.

Environment

None

Status

Assignee

Unassigned

Reporter

Davide D'Alto

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Major
Configure