Failed test in ilios-frontend suggests potential bug in relationship work
The setup is roughly that an async hasMany relationship knows its canonical membership but the related records are not loaded yet. Before model.anAsyncHasMany.length would give the length of the membership, now it will result in 0.
I suspect this is because length now calculates more accurately from the filtered ManyArray state (which hides any records that aren't loaded locally). It is likely the more correct behavior but we should investigate and confirm this is the source of the change. Test fix in https://github.com/ilios/frontend/pull/6120 illustrates this change.
I'm realizing this is likely related to #8024
closing in favor of #7529