Fork me on GitHub
Alister Lee08:12:47

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

Alister Lee10:12:42

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: