Nope... the initial work was done by Jeremy Shaw, but someone would have to take over the task of merging it (which involves refactoring some of the common logic, and which relates to work that Greg Hale did with servant-snap). I don't know if anyone is working on that though.On Tue, May 10, 2016 at 3:29 PM, Corentin Dupont <corenti...@gmail.com> wrote:Do you know when it will be released?Thanks.I saw servant-happstack here:
https://github.com/haskell-servant/servant/tree/servercommon/servant-happstackOn Tue, May 10, 2016 at 3:18 PM, Julian Arni <jka...@gmail.com> wrote:With Happstack, servant-happstack is an option (though then you would not be able to use the above method for Yesod, I believe).myServer = servantServer :<|> toWaiApp ...myServer :: Server MyAPIWith Yesod it's fairly easy - you can just use the `Raw` combinatortype MyAPI = ServantAPI :<|> "yesod" :> Raw
Alternatively, you can just proxy the requests to the other frameworks, either by (a) having a proxy server that dispatches to either servant or the other framework based on route or headers or whatever it is, or (b) having one of the servant routes use a proxy (e.g., http-proxy ), and again use Raw. (a) is a pretty common technique generally.
 https://hackage.haskell.org/package/http-proxyOn Tue, May 10, 2016 at 2:47 PM, Corentin Dupont <corenti...@gmail.com> wrote:--CorentinThanks,My app is currently built with Happstack, so it would be nice to handle the REST API also with it.Hi guys,can I use servant with Happstack?It seems there is only an alpha release now, right?And what about Yesod? Is it supported?
You received this message because you are subscribed to the Google Groups "haskell-servant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-serva...@googlegroups.com.
To post to this group, send email to haskell...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-servant/CAEyhvmo5wub_YCw48q2ijEXHpPguinLgD-W%3D83O-pyqpnY6yag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.