This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-28
Channels
- # aleph (16)
- # announcements (7)
- # asami (4)
- # aws (26)
- # babashka (26)
- # babashka-sci-dev (50)
- # beginners (118)
- # biff (7)
- # calva (15)
- # cider (6)
- # clj-kondo (8)
- # cljs-experience (3)
- # clojure (30)
- # clojure-austin (26)
- # clojure-europe (20)
- # clojure-france (2)
- # clojure-ireland (1)
- # clojure-nl (3)
- # clojure-norway (2)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojurescript (12)
- # community-development (5)
- # conjure (1)
- # copenhagen-clojurians (3)
- # core-typed (71)
- # cursive (3)
- # datomic (1)
- # emacs (4)
- # fulcro (2)
- # helix (2)
- # introduce-yourself (3)
- # jobs (1)
- # london-clojurians (6)
- # lsp (122)
- # malli (2)
- # missionary (5)
- # overtone (14)
- # pathom (4)
- # polylith (1)
- # reagent (4)
- # reitit (1)
- # releases (1)
- # shadow-cljs (80)
- # testing (10)
- # tools-deps (6)
- # vim (3)
- # xtdb (19)
Hey folks, I've been working recently on a test factory library, and just put out a first release. It's still very early days but it's ready for people to take it for a test run. https://github.com/lambdaisland/facai
Talking to both clients and individuals it seemed several people were missing something like this, especially those that had worked with something similar in other languages (e.g. FactoryBot in Ruby). If that's you then I definitely would love to hear from you!
Part of the value of something like this is that it integrates easily with the database, but sadly things aren't exactly standardized when it comes to mapping clojure data to relational tables. Datalog dbs are a bit easier. We've added an initial implementation of next.jdbc and datomic support, and tried to make especially the jdbc support configurable enough, but this is an area where some real-world feedback would be helpful.
Sounds wonderful for me! Just a question, is there a "function API" that we could use, instead of defactory
?
Ayyy I built a FactoryBot like library for Typescript, was thinking about something like this for Clojure. Can't wait it read this over, see how it feels in use
Want questions/comments here?