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
I ran into an infinite loop using a one-to-many relationship (A.hasOne(B)) with {reverse: true, autoFetch: true} using the latest official release. I replaced orm with the latest from git and the issue was resolved. Not an extensive test, but hopefully positive feedback.
Guys,
I have problems about get relate objects in a Many-to-One relationship
this is my code:
It seems enter into an infinite loop
If I fix my code like this
Person(1).getPets({},function (err, pets) {}
It runs ok.
and if use the 'many to many' association ,like this:
It's ok too.
The text was updated successfully, but these errors were encountered: