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
Thanks for opening the issue and sorry for the delay. This was not intended functionality. With 0.9.0-rc.2, it'll return undefined when the index to access is out of bounds, like normal JavaScript Arrays.
Currently, if you filter down and call
at
and doesn't exist, it will still return something that is truthy, making calls like:const record = model.associations.first()
if (record) {
}
not work correctly. Was this intended?
The text was updated successfully, but these errors were encountered: