When having an entity with a relationship, the post retrieve hook is only called on the main entity.
I have had a look at the code it seems that the event is raised to notify all the other loaded relations, but these documents haven't been marked as ready, so they never get the event.
Bug report
When having an entity with a relationship, the post retrieve hook is only called on the main entity. I have had a look at the code it seems that the event is raised to notify all the other loaded relations, but these documents haven't been marked as ready, so they never get the event.
Is this by design or is it a proper bug?