cdepillabout / servant-rawm

Effectful Raw handler for Servant servers.
https://hackage.haskell.org/package/servant-rawm
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Fix compilation with servant-client-core >= 0.18.1 #20

Closed jhrcek closed 3 years ago

jhrcek commented 3 years ago

Fixing https://github.com/cdepillabout/servant-rawm/issues/19

Starting from 0.18.1 servant-client-core no longer exposes runRequest from Servant.Client.Core (do CTRL+F runRequest in haddock index https://hackage.haskell.org/package/servant-client-core-0.18.1/docs/doc-index.html)

But we can make this package compile with all servant-client-core versions between 0.16.0 and 0.18.2 by importing it from this module.

cdepillabout commented 3 years ago

@jhrcek This LGTM, thanks for fixing this up!

I'll rebase https://github.com/cdepillabout/servant-rawm/pull/21 on top of this and lift the bound for servant-client-core there.