malli icon indicating copy to clipboard operation
malli copied to clipboard

High-performance data-driven data specification library for Clojure/Script.

Results 219 malli issues
Sort by recently updated
recently updated
newest added

The following code blows up with invalid schema: ```clojure (defonce registry* (atom (m/default-schemas))) (mr/set-default-registry! (mr/mutable-registry registry*)) (defn sdef "Defines a new schema in mutable [[registry*]]." ([type schema] (swap! registry* assoc...

bug

At some point I stumbled upon this unexpected behaviour: ``` clojure (def explanation {:value {:my-field ["id" "credated-at"]} ; Come from an http request, decoded with malli. :errors (list {:path [:my-field...

Judging by the repl transcript below, higher-order function schemas are not currently supported. Is it feasible in the current schema-function/instrumentation design? ```Clojure clj꞉user꞉>  (defn adder {:malli/schema [:=> [:cat :int] [:=>...

enhancement

using 0.8.9, if I evaluate ` (m/validate [:repeat [:repeat :int]] [[1 2 3] [4 5]])` I'm getting ``` Execution error (OutOfMemoryError) at malli.impl.regex/repeat-validator$optionals (regex.cljc:348). Java heap space ``` Maybe this...

bug

### Summary * This PR attempts to add `:float` support as described in #722 * This PR is a follow up from the original attempt to add float support in...

This works much like `:gen/gen`, but will first attempt to resolve the fully-qualified symbol. This separation means that malli schemas are free to carry around this extra data about where...

Merge first: https://github.com/metosin/malli/pull/1029 In prototyping phase. Overall goal is to obviate the need for `:and`, `:not`, and `:fn` schemas, in particular because of their brittle generators. It also leads more...

fixes #1002 kudos to @mkreis for the excellent bug report!