You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
its rly cool that i can set my own nodeFactory!
I want use different node class for different labels. For example if i have label Movie i want create MovieNode, for label Person i want PersonNode, etc.
But i cant decide what node i should create before the node data is actually loaded.
This situation is happening in $client->getNode()
on 332 is node created
The conveniant functions don't allow you to inspect the data before the node is constructed. I inspected the code and it seems it would need a lot of refactoring. Because now it works like this:
the node is constructed
the node is inserted into a command
the data is fetched from the database (through some function calls in php)
eventually the command is responsible for initiating the data loading into the node
its rly cool that i can set my own nodeFactory!
I want use different node class for different labels. For example if i have label Movie i want create MovieNode, for label Person i want PersonNode, etc.
But i cant decide what node i should create before the node data is actually loaded.
This situation is happening in $client->getNode()
on 332 is node created
neo4jphp/lib/Everyman/Neo4j/Client.php
Line 332 in fe6337c
and on 340 is data loaded
neo4jphp/lib/Everyman/Neo4j/Client.php
Line 340 in fe6337c
The text was updated successfully, but these errors were encountered: