Function resolveEffectiveMaxRecursion
resolveEffectiveMaxRecursion( args: { defaultMaxRecursion?: number; include?: Record<string, IncludeTree>; maxRecursion?: number; },): number Parameters
- args: {
defaultMaxRecursion?: number;
include?: Record<string, IncludeTree>;
maxRecursion?: number;
}
Returns number
Resolve the effective recursion depth for a query.
maxRecursionlower than include tree depth → throw (silent truncation is no longer allowed).maxRecursion≥ selection depth → use it.maxRecursionbut an include tree → honour the selection depth.defaultMaxRecursion(historically 4).