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
It seems like when the non-blocking model hook is used that the promise for the infinity model isn't resolved when trying to access reachedInfinity though it is resolved correctly when accessing the collection itself.
Am I missing something? Is there a good work around for using a non-blocking hook and being able to access reachedInfinity?
The text was updated successfully, but these errors were encountered:
It seems that
reachedInfinity
isn't usable when a non-blocking model hook is used. The value is alwaysundefined
in the template.This works as expected and shows the actual value of
reachedInfinity
:This does not work, and never shows any value for
reachedInfinity
:If I wrap the hash in
RSVP.hash
it does show the correct value forreachedInfinity
but that prevents the model hook from being non-blocking:It seems like when the non-blocking model hook is used that the promise for the infinity model isn't resolved when trying to access
reachedInfinity
though it is resolved correctly when accessing the collection itself.Am I missing something? Is there a good work around for using a non-blocking hook and being able to access
reachedInfinity
?The text was updated successfully, but these errors were encountered: