Skip to main content

defaultRuleGroupProcessorDiagnostics

const defaultRuleGroupProcessorDiagnostics: RuleGroupProcessor<DiagnosticsResult>

Defined in: packages/core/src/utils/formatQuery/defaultRuleGroupProcessorDiagnostics.ts:136

Rule group processor used by formatQuery for "diagnostics" format.

Produces a DiagnosticsResult containing an annotated copy of the query tree (query) with valid, reasons, path, and level properties on every rule and group; a flat diagnostics array; aggregate stats; and a per-field fieldSummary.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.