calling a thing defresource
defined thing will return an actual handler function, right?
(OPTIONS "/" [] (entry-point (-> sys :db-pool :pool)))
I'm trying to wrap my head around how I can parameterize a resource on a per request basis
I.e. for each request I want to take a connection from the connection pool
I currently do this with a with-open
like macro that gives me a connection and makes sure it's invalidated if any exception occurs
now I don't understand how I could do any such wrapping with liberator