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

```clojure (malli.dev.pretty/explain [:map [:id :int] [:tags [:set :keyword]] [:address [:map [:street :string] [:city :string] [:zip :int] [:lonlat [:tuple :double :double]]]]] {:id "123" :EXTRA "KEY" :tags #{:artesan "coffee" :garden} :address {:street...

I think it would be pretty great to have a malli equivalent to the spec-alpha2/select. For those that don't know, `select` would take a schema and a keyset, and mark...

enhancement

When using operations like `mu/optional-keys`, and a custom registry merging m/default-schemas and mu/schemas, it doesn't work properly. ```clojure (def Map2 (mu/optional-keys [:map {:registry (merge (m/default-schemas) (mu/schemas) {::a string? ::b [:merge...

bug

Hello, thank you very much once again for this great tool. The doc for function schema instrumentation ([link](https://github.com/metosin/malli/blob/master/docs/function-schemas.md)) mentions `defn` and doesn't refer to protocol functions so I guess the...

https://github.com/metosin/malli/blob/152af3a3f8d59cca37a597b2403111bafbdee6ee/src/malli/transform.cljc#L36-L42 Hi, I’m hitting a corner case with malli transform. I’m still trying to figure out why I’m hitting that corner case and what I can do to avoid that,...

I'm looking for a way to encode a homogeneous map that needs specific keys in malli. For example, ``` {:id 1 :data1 1.0 :data2 1.0 ...} ``` In this example,...

enhancement
clojurescript

Add support for mostly-compliant ISO-8601 time formats in clj Enables future support of JSON Schema Related to #49 and #501

As per this snippet: ```clojure (malli.core/decode [:map [:a {:foo :bar} :int]] {:a "string"} (malli.transform/transformer {:name :hello :default-decoder {:compile (fn [schema _] (println (str "node schema: " (malli.core/-form schema))) (fn [x]...

bug
question

Hi there, I noticed there's no `:float`. `float?` is recognised, however. Probably it would be good to leave things symmetric relative to `:double`? My request is not esoteric as it...

enhancement

```clojure (m/schema [:merge [:map [:x :string]] [:map [:y :int]]] ) ``` ``` Unhandled clojure.lang.ExceptionInfo :malli.core/invalid-schema {:schema :merge} {:type :malli.core/invalid-schema, :message :malli.core/invalid-schema, :data {:schema :merge}} ```

documentation