Liking cljdoc? Tell your friends :D

ag-grid-cljs.impl.validate

Dev-only, position-aware validation of the EDN options map, run at the conversion boundary (ADR 0007 §4-5). It does the strictly-kebab-native layer AG Grid's own ValidationModule cannot: unknown-key warnings with a kebab did-you-mean, plus kebab-native deprecation warnings carrying the replacement. It NEVER reimplements type/dependency/row-model checks (delegated to ValidationModule) and it NEVER rejects or alters conversion output — warn-only (ADR 0002).

Position-aware: top-level keys validate against :grid-options (+ event handlers); the known ColDef-bearing positions (:column-defs items, :default-col-def, :auto-group-column-def, and group :children) validate against :col-def / :col-group-def; everything else is opaque and never touched.

Off by default; ag-grid-cljs.core/enable-dev-validations! flips it on. Every registry reference here sits inside ^boolean goog.DEBUG guards and the whole namespace is reached only from goog.DEBUG-guarded call sites, so :advanced compilation with {goog.DEBUG false} dead-code-eliminates it (ADR 0007 §1).

Dev-only, position-aware validation of the EDN options map, run at the
conversion boundary (ADR 0007 §4-5). It does the strictly-kebab-native layer
AG Grid's own ValidationModule cannot: unknown-key warnings with a kebab
did-you-mean, plus kebab-native deprecation warnings carrying the replacement.
It NEVER reimplements type/dependency/row-model checks (delegated to
ValidationModule) and it NEVER rejects or alters conversion output — warn-only
(ADR 0002).

Position-aware: top-level keys validate against :grid-options (+ event
handlers); the known ColDef-bearing positions (:column-defs items,
:default-col-def, :auto-group-column-def, and group :children) validate against
:col-def / :col-group-def; everything else is opaque and never touched.

Off by default; ag-grid-cljs.core/enable-dev-validations! flips it on. Every
registry reference here sits inside ^boolean goog.DEBUG guards and the whole
namespace is reached only from goog.DEBUG-guarded call sites, so :advanced
compilation with {goog.DEBUG false} dead-code-eliminates it (ADR 0007 §1).
raw docstring

enable!cljs

(enable!)

Turn the wrapper's dev validations on. No-op in production builds.

Turn the wrapper's dev validations on. No-op in production builds.
sourceraw docstring

reset-warnings!cljs

(reset-warnings!)

Clear the dedup set (test helper).

Clear the dedup set (test helper).
sourceraw docstring

validate-options!cljs

(validate-options! opts)

Position-aware dev validation of the top-level EDN options map. No-op unless dev validations are enabled and this is a goog.DEBUG build. Never rejects or alters — it only emits js/console.warn.

Position-aware dev validation of the top-level EDN options map. No-op unless
dev validations are enabled and this is a goog.DEBUG build. Never rejects or
alters — it only emits js/console.warn.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close