How much control does Malli currently give over map keys? For instance that they should be of a particular set, or within a range, or keywords or strings, but without specifying the key precisely? I have an existing non-relational database for which I'd like to infer schemas with mp/provide
, but it seems to get confused around hashmaps that are built to store user input (e.g. a mapping from username to info).
@daveliepmann there is :map-of
, like in spec.
the mp/provide
is not smart enough yet to figure those out. Could be..
Thanks!
@daveliepmann @ikitommi I was also getting more corarse-grained results with provide than I would like. I would love to be able to provide a "starting point" for the schema. Please excuse my backseat driving: