What problem does it solve?
Ensures consistent Malli-driven validation and self-documented schemas across a Clojure codebase, catching schema issues early in development and keeping function signatures and data structures aligned with formal schemas.
Core Features & Use Cases
- Enforce function-scoped Malli schemas: Always attach :malli/schema metadata to functions and use :catn for parameter names to ensure self-documentation.
- Data structure schemas and registries: Define schemas in a dedicated namespace and register them in tests to validate data contracts across modules.
- Dev-mode instrumentation and test fixtures: Enable Malli dev-mode instrumentation to catch violations during development and testing.
- Documentation and maintainability: Schemas provide executable, up-to-date documentation and improve error messages and debugging.
Quick Start
Enable Malli dev-mode instrumentation, wire your schemas into the test fixtures, and run the test suite to validate all function and data structure schemas.