haskell-servant/example-servant-persistent

Dead code `runDB`?

Closed this issue · 1 comments

https://github.com/haskell-servant/example-servant-persistent/blob/master/src/App.hs#L29-L30

Is this function used anywhere? It seems like in the code just below, it uses a different approach (flip runSqlPersistMPool pool) to run queries.

Yup, removed. Thanks for reporting!

cc: @mchaver