Fork me on GitHub
#pathom
<
2019-12-16
>
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.

wilkerlucio10:12:01

@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.

mdhaney23:12:17

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