In 6c1135dff251a39c078c9c1faa160a17b874a77a we removed the behavior of memoizing references to existing linked model instances because it was hard to test and led to unpredictable behavior. However, it is actually very useful to prefetch all linked models rather than grabbing them one by one via API calls, because it can be much faster.
This branch reintroduces memoization as an optional feature, with more granular control over how and when it happens.
In 6c1135dff251a39c078c9c1faa160a17b874a77a we removed the behavior of memoizing references to existing linked model instances because it was hard to test and led to unpredictable behavior. However, it is actually very useful to prefetch all linked models rather than grabbing them one by one via API calls, because it can be much faster.
This branch reintroduces memoization as an optional feature, with more granular control over how and when it happens.