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
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
... then my app totally crashes. It does not support hydrating the stock relation into this Stock class, annotated with @OGM\RelationshipEntity(type="STOCK").
Am I missing some important concept, or is it just that no-one has ran into this before?
To get to my Stock-object, I can of course also use my defined relation (with @OGM\Relationship()):
... but that one gives my Collection of all the Store's products! So I would still need to loop over all of those to see what Stock-object in that Collection is the one that points to the right Product. I just want the Stock object from the query.
I think it would be really great if I can hydrate the relation model via the same way I can hydrate the node model.
The text was updated successfully, but these errors were encountered:
Maybe I am not seeing something, but if I have a query like this one:
... and I do something like this:
... then my app totally crashes. It does not support hydrating the stock relation into this
Stock
class, annotated with@OGM\RelationshipEntity(type="STOCK")
.Am I missing some important concept, or is it just that no-one has ran into this before?
To get to my Stock-object, I can of course also use my defined relation (with
@OGM\Relationship()
):... but that one gives my Collection of all the Store's products! So I would still need to loop over all of those to see what Stock-object in that Collection is the one that points to the right Product. I just want the Stock object from the query.
I think it would be really great if I can hydrate the relation model via the same way I can hydrate the node model.
The text was updated successfully, but these errors were encountered: