Skip to content

v0.21.45

Choose a tag to compare

@lkrms lkrms released this 21 Feb 02:40
· 1081 commits to main since this release
v0.21.45
1169503

Added

  • Add SyncEntityRecursionException
  • Add ISyncContext::pushWithRecursionCheck()
  • Add ISyncContext::maybeThrowRecursionException()

Changed

  • Sync: prevent infinite recursion during entity hydration
    • Call ISyncContext::pushWithRecursionCheck() instead of ISyncContext::push() where necessary
    • Call ISyncContext::maybeThrowRecursionException() before requesting entities from providers
  • In GetSyncEntities, apply DeferralPolicy::DO_NOT_RESOLVE in addition to HydrationPolicy::SUPPRESS when --shallow is given

Fixed

  • Fix issue where deferred relationships are created to hydrate entities with no identifier