This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-08
Channels
- # announcements (13)
- # asami (9)
- # aws (1)
- # aws-lambda (1)
- # babashka (37)
- # beginners (70)
- # calva (19)
- # cider (23)
- # clara (10)
- # clj-kondo (15)
- # cljdoc (14)
- # clojure (3)
- # clojure-bay-area (1)
- # clojure-europe (40)
- # clojure-nl (3)
- # clojure-serbia (1)
- # clojure-uk (31)
- # clojuredesign-podcast (1)
- # clojurescript (9)
- # community-development (7)
- # data-oriented-programming (1)
- # datomic (44)
- # emacs (13)
- # figwheel-main (14)
- # fulcro (6)
- # jobs (6)
- # malli (15)
- # meander (7)
- # off-topic (74)
- # other-languages (1)
- # pathom (3)
- # portal (3)
- # re-frame (25)
- # reagent (6)
- # reitit (2)
- # reveal (1)
- # rewrite-clj (6)
- # ring (5)
- # shadow-cljs (11)
- # specter (7)
- # xtdb (7)
@roseneck if the strip-extra-keys-transformer
is not enough (just map keys), please provide an example with schema, input and expected output.
Hi all, just wonder if there is a malli schema for validating reitit route?
like the reitit.spec
namespace in reitit.core
but for malli. My use case is describing API endpoints and referencing the reitit route for each endpoint would be great. Thanks.
not yet. One of the initial reasons for creating malli was to have a tool where one can deep-merge nested schemas without tears, to be used in reitir route data validation.
Hi there! Missing spec's validation now that I've migrated to malli, I rolled my own thing: https://github.com/setzer22/malli-instrument Let me know what you think! 😄
I wonder, didn't malli already have something to instrument functions with malli schemas? if not so, how were the function specs intended to be used?
If there is, I couldn't find it anywhere 🤷 What's there, besides function schema syntax, is a global function registry and a macro, m/=>
to add functions to that registry. I just built a super simple thing on top of all this
@setzer22 looks good. Plan is to have the instrumentation in malli core lib, but just not there yet, see: https://github.com/metosin/malli/issues/349
I've made some questions asking about Intrument impl
what malli expects for it