Function: setDefaultRelationsCacheService()
ts
function setDefaultRelationsCacheService(
resolver: RelationsCacheServiceResolver | null,
): void;Registers (or clears) the process-wide default relation cache resolver.
The host application calls this once at boot. Passing null clears the default (used by tests). Models without their own relationsCacheService fall back to this resolver via the precedence chain.
Parameters
| Parameter | Type | Description |
|---|---|---|
resolver | | RelationsCacheServiceResolver | null | The default resolver, or null to clear it. |
Returns
void