This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-10
Channels
- # adventofcode (3)
- # aws (2)
- # beginners (85)
- # boot (8)
- # boot-dev (4)
- # cider (36)
- # clara (3)
- # cljs-dev (87)
- # cljsrn (3)
- # clojure (87)
- # clojure-austin (12)
- # clojure-brasil (1)
- # clojure-dev (8)
- # clojure-dusseldorf (5)
- # clojure-estonia (5)
- # clojure-greece (4)
- # clojure-italy (3)
- # clojure-spec (17)
- # clojure-uk (55)
- # clojurescript (70)
- # core-logic (2)
- # cursive (6)
- # data-science (18)
- # datomic (13)
- # emacs (34)
- # fulcro (347)
- # graphql (12)
- # hoplon (6)
- # jobs (3)
- # jobs-discuss (43)
- # juxt (2)
- # keechma (31)
- # leiningen (29)
- # lumo (2)
- # midje (2)
- # off-topic (118)
- # om-next (4)
- # onyx (39)
- # pedestal (6)
- # re-frame (85)
- # reagent (21)
- # remote-jobs (3)
- # ring (5)
- # rum (2)
- # shadow-cljs (126)
- # spacemacs (1)
- # sql (6)
Pedestal routing. One of my handlers is not getting invoked. Here's (mapv #(take 2 %)) of my routes (a set, in table format):
[("/assets/graphiql/*path" :head)
("/graphql" :post)
("/assets/graphiql/*path" :get)
("/graphql" :get)
("/" :get)]
But when I have a client GET /assets/graphiql/graphiql.css, I get a 404, as in, it's not matching.If I pprint out the expanded route:
{:path "/assets/graphiql/*path",
:method :get,
:path-constraints {:path "(.*)"},
:path-re #"/\Qassets\E/\Qgraphiql\E/(.*)",
:path-parts ["assets" "graphiql" :path],
:interceptors
[{:name nil,
:enter
#object[io.pedestal.interceptor$eval21530$fn__21531$fn__21532 0x277af0a3 "io.pedestal.interceptor$eval21530$fn__21531$fn__21532@277af0a3"],
:leave nil,
:error nil}],
:route-name :com.walmartlabs.lacinia.pedestal/graphiql-get-assets,
:path-params [:path]}
(that's just the key entry)