neo4jrb / activegraph

An active model wrapper for the Neo4j Graph Database for Ruby.
http://neo4jrb.io
MIT License
1.4k stars 276 forks source link

Numeric or infinite (*) depth specification in `with_associations` #1545

Closed amitsuryavanshi closed 5 years ago

amitsuryavanshi commented 5 years ago

Additional information which could be helpful if relevant to your issue:

Code example (inline, gist, or repo)

User.where(id: x).with_associations('friends*') Should eagerload all users friends relations and users friends of friends relations and so on.

Runtime information:

Neo4j database version: 3.5.3 neo4j gem version: 9.4.0 neo4j-core gem version: 9.0.0