Fork me on GitHub
#malli
<
2024-04-01
>
Panel00:04:52

Is there a way to defined map-entry in a registry ? I want to set properties at the entry level . This is possible: {:x [int? {:title "X parameter" :description "Description for X parameter" :json-schema/default 42}] But i can't find a way to do: [:x {:title "X parameter" :description "Description for X parameter" :json-schema/default 42} int?]

roklenarcic09:04:06

I don’t see instance-of? in standard schemas… how do I declare instance of type as schema?

roklenarcic18:04:32

Oh so I just put class symbol there?