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

Maybe `:date-time` and `:local-date` mapping to Java8 Time & Google dates? Or should we lean on libs like [tick](https://github.com/juxt/tick)?

enhancement

Currently malli applies [`-safe-pred`](https://github.com/metosin/malli/blob/4f38a081dc25285881f49aba750a36b1b225333a/src/malli/core.cljc#L139) which silents general exception in several validations, e.g., `:fn` schema. Would it be good to provide opt-out of this feature? It could mislead that data itself...

## currently Options is an optional parameter to all/most public apis. Would be cleaner if there was a `SchemaContext` Record to hold all configuration and state for working with Schemas....

for discussion
hammock

As discussed on Slack, it would be useful to be able to use :fn for checking specific relations between function inputs and outputs, as spec does with the :fn option...

Prismatic Schema allows one to mix defined keys and extra keys in a same map. We could get rid of `:map-of` in favour of supporting predicate keys in `:map`: ```clj...

enhancement

As discussed on slack, Clojure now supports [destructuring maps as key-value pairs](https://clojure.org/news/2021/03/18/apis-serving-people-and-programs) in parameter lists: `[& {:as m :keys [id before after]}]` can be used as both `(f {:id 1...

enhancement

## Issue A function schema produces an error due to overlapping arities when I attempt to use a seqex as the schema for one of the function's input arguments. ##...

bug

Currently only implemented for JVM What do you think?

The followings should be inferred, via options on threshold? * [x] `:maybe` (would be easy if there was `:nil` type in the stats * [x] `:tuple` (option + threshold) *...

enhancement

```clj ;; ok (m/decode [:tuple string? string?] [] (mt/string-transformer)) ; => [] ;; fail (m/decode [:tuple keyword? string?] [] (mt/string-transformer)) ; => [nil] ;; megafail (m/decode [:tuple string? keyword?] []...

bug
help wanted