This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-30
Channels
- # aleph (2)
- # announcements (4)
- # babashka (3)
- # beginners (89)
- # calva (12)
- # cljdoc (7)
- # cljsrn (5)
- # clojars (1)
- # clojure (19)
- # clojure-dev (6)
- # clojure-europe (2)
- # clojurescript (12)
- # conjure (7)
- # cursive (4)
- # fulcro (28)
- # graphql (6)
- # gratitude (2)
- # introduce-yourself (2)
- # jobs (1)
- # jobs-discuss (26)
- # off-topic (2)
- # pathom (22)
- # pedestal (2)
- # podcasts-discuss (10)
- # re-frame (9)
- # reitit (8)
- # releases (2)
- # remote-jobs (1)
- # shadow-cljs (1)
- # tools-deps (27)
- # xtdb (11)
@kiraemclean full example
@U061V0GG2 my main hangup with this implementation is I do not understand why I need to plug the same transformer to :string
as well
Why do you need the additional transformer in this example?
i.e. why do need to define :query
transformer? Is there something using that?
by default query-params, form-params, header-params and path-params use string transformer: https://github.com/metosin/reitit/blob/master/modules/reitit-core/src/reitit/coercion.cljc#L38
hold over from my implementation where the query params map had its own transformer, too
this is great, thanks for sharing. not sure if you saw the rest of the old thread but turns out I could make it work by adding a :decode/string
fn