This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-16
Channels
- # adventofcode (36)
- # announcements (30)
- # babashka (1)
- # beginners (161)
- # boot-dev (2)
- # bristol-clojurians (3)
- # clj-kondo (10)
- # clojure (125)
- # clojure-europe (10)
- # clojure-italy (4)
- # clojure-nl (7)
- # clojure-spec (1)
- # clojure-uk (26)
- # clojuredesign-podcast (3)
- # clojurescript (13)
- # core-async (5)
- # cryogen (3)
- # cursive (134)
- # data-science (8)
- # datascript (3)
- # datomic (32)
- # fulcro (24)
- # graalvm (2)
- # joker (5)
- # leiningen (5)
- # malli (18)
- # off-topic (14)
- # pathom (4)
- # re-frame (3)
- # reagent (11)
- # remote-jobs (3)
- # rewrite-clj (8)
- # shadow-cljs (47)
- # spacemacs (3)
- # sql (12)
- # vim (6)
Ok I think I get it - a fulcro server problem really - not possible with wrap-api, but should be easy to inject.
@clojure388 hello, one thing also to remember, the first argument you send to the parser call is also environment, so you can add anything you want there
Got it, thanks - you want the session and the database connection coming in through the environment - the pathom docs even show this iirc. I need to wrangle fulcro/middleware to get it there.
In one of Tony’s videos, he shows how to write a replacement for wrap-api to do exactly what you are asking for. It’s this one IIRC: https://youtu.be/oQpmKWBm9HE