Liking cljdoc? Tell your friends :D

wagoe.core.utils.case-conversion

Generic case conversion utilities for API and data transformations.

This namespace provides reusable case conversion utilities that handle transformations between different naming conventions commonly used in APIs:

  • camelCase (JavaScript/JSON APIs)
  • kebab-case (Clojure idioms)
  • snake_case (Database/SQL)

These functions are designed to be nil-safe and handle nested data structures where appropriate.

Usage: (:require [wagoe.core.utils.case-conversion :as case-conversion])

(case-conversion/camel-case->kebab-case-map {:userId "123" :tenantId "456"}) ;; => {:user-id "123" :tenant-id "456"}

Generic case conversion utilities for API and data transformations.

This namespace provides reusable case conversion utilities that handle
transformations between different naming conventions commonly used in APIs:
- camelCase (JavaScript/JSON APIs)
- kebab-case (Clojure idioms)
- snake_case (Database/SQL)

These functions are designed to be nil-safe and handle nested data structures
where appropriate.

Usage:
(:require [wagoe.core.utils.case-conversion :as case-conversion])

(case-conversion/camel-case->kebab-case-map {:userId "123" :tenantId "456"})
;; => {:user-id "123" :tenant-id "456"}
raw docstring

wagoe.core.utils.pii-redaction

Shared PII redaction utilities used by error reporting adapters.

Shared PII redaction utilities used by error reporting adapters.
raw docstring

wagoe.core.utils.validation

Value predicates the CLI layer validates arguments with.

It also held a second implementation of validate-with-transform, validate-cli-args, validate-request and the result accessors — the same names wagoe.core.validation defined, with a different implementation and no compiled-schema cache. Nothing outside its own tests called them (BOU-323).

Schema validation goes through wagoe.core.validation, whose validators are compiled once and cached; result shapes live in wagoe.core.validation.result.

Value predicates the CLI layer validates arguments with.

It also held a second implementation of validate-with-transform,
validate-cli-args, validate-request and the result accessors — the same
names wagoe.core.validation defined, with a different implementation and no
compiled-schema cache. Nothing outside its own tests called them (BOU-323).

Schema validation goes through wagoe.core.validation, whose validators are
compiled once and cached; result shapes live in
wagoe.core.validation.result.
raw 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