Fork me on GitHub
#malli
<
2022-04-05
>
Ferdinand Beyer09:04:07

Is there a recommendation when to call m/schema and when not? I want to define schemas in vars, would wrapping them in in m/schema improve performance?

Ben Sless09:04:45

Although I worked on improving parsing performance, calling schema will help with that It will also ensure the same object is shared if the schema is used multiple times

Ferdinand Beyer12:04:44

OK thanks. I’ve seen that I can get the form with m/form if I need to 😉

👌 1