neumino / thinky

JavaScript ORM for RethinkDB
http://justonepixel.com/thinky/
Other
1.12k stars 128 forks source link

Post retrieve hooks are not called on relations #617

Open cur3n4 opened 7 years ago

cur3n4 commented 7 years ago

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?