This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-03
Channels
- # aws-lambda (6)
- # beginners (38)
- # boot (39)
- # cider (44)
- # cljs-dev (9)
- # cljsrn (96)
- # clojure (142)
- # clojure-dev (6)
- # clojure-dusseldorf (8)
- # clojure-greece (45)
- # clojure-ireland (3)
- # clojure-italy (7)
- # clojure-norway (6)
- # clojure-russia (26)
- # clojure-sg (16)
- # clojure-spec (31)
- # clojure-uk (39)
- # clojurescript (125)
- # cursive (38)
- # datascript (4)
- # datomic (18)
- # emacs (34)
- # figwheel (2)
- # hoplon (3)
- # immutant (23)
- # jobs (1)
- # lambdaisland (2)
- # lumo (13)
- # off-topic (77)
- # om (8)
- # onyx (9)
- # pedestal (2)
- # play-clj (1)
- # re-frame (52)
- # reagent (3)
- # rum (4)
- # spacemacs (2)
- # specter (4)
- # unrepl (37)
- # untangled (8)
- # vim (79)
- # yada (1)
Hi, wondering if somebody has come across this when using untangled.server.core/untangled-system
.
The readme suggests setting up a system like this:
(def your-server
(usc/untangled-system
{:api-handler-key ::your-api-handler-key
:components {:config (usc/new-config)
:server (usc/make-web-server ::handler)
::handler (make-your-ring-handler ::your-api-handler-key)}}))
So I'm having trouble seeing how to implement the read
/`mutate` functions. Do I inject them somehow? I think I'm missing something obvious.
Is there a full example somewhere I can get my head around? Thank you!@kgxsz you can check the cookbook. That has plenty of examples: https://github.com/untangled-web/untangled-cookbook
@kgxsz you want
https://github.com/untangled-web/untangled-server/blob/develop/README.adoc#25-defining-a-module--apihandler
It looks like there's a typo, :handlers
=> :modules