- Ya
- 8 Agosti 2026, 17:09 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 1d25b5d
Parent titles, primary domain, the plan/market behind the entitlement and the subscription-catalog flag are each one batched IN (:ids) over the whole page, so a 100-row page costs the same six statements as a 1-row page. The test asserts that equality directly -- the implementation this replaces would score 6 against 600. The governing subscription is picked by EntitlementModeResolver, the same code that decided the row's mode, so the plan shown always belongs to the state shown. Queries go through EntityManager rather than new repository methods so kamo-shared-library, which every service depends on, does not have to change.