This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-13
Channels
- # adventofcode (77)
- # beginners (132)
- # boot (11)
- # cider (40)
- # clara (10)
- # cljsjs (1)
- # cljsrn (4)
- # clojure (148)
- # clojure-android (1)
- # clojure-greece (5)
- # clojure-italy (5)
- # clojure-nl (7)
- # clojure-spec (57)
- # clojure-uk (9)
- # clojurescript (115)
- # core-matrix (1)
- # cursive (3)
- # data-science (1)
- # datomic (1)
- # duct (7)
- # emacs (20)
- # fulcro (29)
- # funcool (4)
- # graphql (31)
- # instaparse (15)
- # java (1)
- # jobs (6)
- # jobs-discuss (95)
- # leiningen (2)
- # off-topic (30)
- # om (4)
- # onyx (7)
- # pedestal (6)
- # quil (4)
- # re-frame (52)
- # reagent (59)
- # rum (1)
- # spacemacs (3)
- # specter (61)
- # test-check (3)
how do I add a route with json params decoded automatically? Something like Ring's wrap-json-params
middleware
@weavejester I hope you don't mind me asking, but what lead your design decision to use sqlite in duct?
@yogidevbear Duct can use any SQL database. SQLite just happens to be an easy database for tutorials, since there’s no database server to set up.
I thought that was probably the case
Thanks for the quick response 👍
@myguidingstar Use the :duct.module.web/api
module, or add the :duct.middleware.web/format
middleware manually to the :duct.core/handler
:middleware
vector.
I intend to add a proper site+api
module sometime, but I’ve yet to get around to it.