This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-17
Channels
- # aleph (2)
- # announcements (20)
- # aws (43)
- # aws-lambda (5)
- # babashka (9)
- # beginners (231)
- # calva (4)
- # cider (12)
- # cljdoc (8)
- # cljsrn (3)
- # clojure (47)
- # clojure-europe (5)
- # clojure-nl (4)
- # clojure-spec (41)
- # clojure-uk (47)
- # clojuredesign-podcast (3)
- # clojurescript (20)
- # cryogen (3)
- # cursive (4)
- # data-science (2)
- # datomic (15)
- # emacs (4)
- # fulcro (21)
- # jackdaw (6)
- # jobs (1)
- # joker (13)
- # juxt (8)
- # kaocha (10)
- # malli (7)
- # off-topic (29)
- # pathom (11)
- # re-frame (19)
- # reagent (3)
- # reitit (26)
- # remote-jobs (8)
- # schema (2)
- # shadow-cljs (112)
- # spacemacs (1)
- # tools-deps (49)
- # vim (2)
- # xtdb (7)
Hi folks, starting to incorporate malli into my project, was wondering is there a mechanism to add metadata to a function so that input and output are automatically validated, or is all the validation meant to be done manually within the function?
@theeternalpulse two choises: 1. wait for https://github.com/metosin/malli/issues/125 2. try aave, https://github.com/teknql/aave
oh sweet
goal of malli is to be a complete schema-system, both function schemas and linting (integration to clj-condo) will be there, soon, I hope.
👍 thanks, I'll take a look at aave in the meantime.
any discussion of aave most welcome here, as @rschmukler is here too.
Hi @theeternalpulse! Aave is in its early days but it does exist! It's syntax is extendable so if you don't like the ghostwheel-like syntax, it wouldn't be too hard to add. The other thing that I want to add is the option for compile time testing of pure functions (so we refuse to compile, rather than wait for the user to call the function). If you have any feature requirements please feel free to open some issues