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

It would be great if malli could transform Schemas to Avro. See http://avro.apache.org/docs/current/spec.html

enhancement
help wanted

```clj (m/decode [:map [:user-id :string]] {"user-id" "foo"} mt/json-transformer) ;; => {"user-id" "foo"} (m/decode [:map-of :keyword :string] {"user-id" "foo"} mt/json-transformer) ;; => {:user-id "foo"} ``` I think the first one should...

Is this argument for key options? Does it work? Or is it for something else? At the minimum, the docstring should mention the argument and what it does. Readme doesn't...

documentation

For validation, current support for recursive data via `:ref` seems to be appropriate and satisfactory. The problem is that this design is not fit for generation. Any example, even a...

enhancement

Currently, `malli.generator/-string-gen` uses `test.check`'s `char` generator. Would you consider a PR that checks for an optional `:gen/char` property, making it easier to generate efficiently strings that constrain characters?

enhancement
help wanted

We (@ozjongwon) developed a macro in-house to satisfy our need for creating classes from Malli Schemas. ala `plumatic.schema/defrecord`. I'm wondering would there be interest in merging that upstream to Malli...

Hello, thanks for this very well-thought tool! The README of this lib usually names schemas like `Address`, `Age`, but also `abcd`, `my-schema`, and obviously a datum schema can be named...

for discussion

By derived objects, I mean validator, explainer, de/encoder, etc. What exists currently: Let us consider the following simple case: ```clojure (def m0 (m/schema [:map [:a int?] [:b int?]])) (def m1...

enhancement

Coming from Clojure Spec, I would expect merging a `:map` with a `:multi` to work intuitively. Instead, I hit the `merge-default` behavior in `malli.util/merge`, which drops the first schema in...

enhancement

Saves on allocation and provides an immutable facade to underlying regular set Followup to #522 Part of #513