This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-31
Channels
- # announcements (5)
- # babashka (105)
- # beginners (92)
- # calva (77)
- # cider (17)
- # cljdoc (8)
- # cljs-dev (8)
- # cljsrn (8)
- # clojure (272)
- # clojure-dev (25)
- # clojure-europe (5)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojure-uk (108)
- # clojurescript (326)
- # code-reviews (4)
- # cursive (6)
- # datomic (37)
- # duct (5)
- # emacs (14)
- # fulcro (23)
- # graphql (1)
- # juxt (1)
- # kaocha (2)
- # leiningen (10)
- # malli (9)
- # music (1)
- # nrepl (12)
- # pathom (21)
- # pedestal (2)
- # planck (4)
- # quil (3)
- # reitit (29)
- # rewrite-clj (10)
- # shadow-cljs (82)
- # spacemacs (29)
- # sql (6)
- # tools-deps (19)
I'm evaluating various "spec" libraries for use in production. It's a bit of a sticky situation, since clojure.spec is alpha, clojure.spec2 and malli are pre-alpha. The only "stable" library is Plumatic Schema, but that's also old (though actively maintained).
But, everyone's definition of pre-alpha is different. Alex Miller explicitly says "don't use spec2 in production yet, eta is in the order of months".
we wanted to optimize the whole - currently all non-core modules (generators, providers, transformers, etc) have initial versions and we know how to core should be done to support the needs of the modules. There will be few namespace & function renames (e.g. breaking) after which we’ll put a alpha out. Will be in alpha as long all the relevant features are feature-complete, but I would guess there will be a real release within 1-2 months.
there is for example now m/transform
function but it will be split into m/encode
and m/decode
, like in spec-tools. Didn’t want to start maintaining CHANGELOG for all the things that are in a flux now, but final design starts to emerge, so getting close.
also, there are some big things that need to be decided before release, will write a post &/ poll out of those.
• open or closed maps by default? (open)
• support clojure core predicates (`ìnt?`, string?
) by default or make keyword type schemas (`:int`, :string
, ...)