Skip to main content

DefaultVendureComplexityEstimator

A complexity estimator which takes into account List and PaginatedList types and can be further configured by providing a customComplexityFactors object.

When selecting PaginatedList types, the "take" argument is used to estimate a complexity factor. If the "take" argument is omitted, a default factor of 1000 is applied.

Signature
function defaultVendureComplexityEstimator(customComplexityFactors: { [path: string]: number }, logFieldScores: boolean): void

Parameters

customComplexityFactors

parameter{ [path: string]: number }

logFieldScores

parameterboolean
Was this chapter helpful?
Report Issue
Edited Feb 3, 2026·Edit this page