Fork me on GitHub

Is there a supported way to introspect that the type of the following schema is string??

[:fn {:description "An ID"}
malli.core/type returns :fn for it, which is not as useful. ...`(m/type string?)` does return string? (as a symbol), so I'd say that my expectation is reasonable


I had some luck with considering this vector to be "just data" but yeah... an official helper would be reassuring

Ben Sless04:03:16

My unofficial hot take is fn specs are evil for this very reason


Is it not possible to pass an options map (containing a registry) to malli.util/update-in ? The other functions in that ns take options map, but this one doesn't appear too. update also lacks an options arg. I can't use a local registry because I've a non-map (primitive) registry.