Versionbump: Qualified desired function and allowed for one redundant constraint.
This commit is contained in:
parent
3731cd6bec
commit
a42cf28f7d
@ -29,6 +29,7 @@ import ClassyPrelude.Yesod as Import
|
||||
, mkMessage, mkMessageFor, mkMessageVariant
|
||||
, YesodBreadcrumbs(..)
|
||||
, MonoZip(..), ozipWith
|
||||
, existsBy
|
||||
)
|
||||
|
||||
import UnliftIO.Async.Utils as Import
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
{-# OPTIONS_GHC -fno-warn-unused-foralls #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
|
||||
|
||||
module Yesod.Servant
|
||||
( ServantApiUnproxy, ServantApiUnproxy', ServantApiDirect
|
||||
@ -501,6 +502,8 @@ class Monad m => MonadRequest m where
|
||||
instance HasServantHandlerContext site => MonadRequest (ServantHandlerFor site) where
|
||||
getRequest = liftServantHandler . ServantHandlerFor $ return . getSCtxRequest
|
||||
|
||||
--instance {-# OVERLAPPABLE #-} (Yesod.MonadHandler m, Monad m) => MonadRequest m where
|
||||
-- getRequest = Yesod.waiRequest
|
||||
instance {-# OVERLAPPABLE #-} (Yesod.MonadHandler m, Monad m) => MonadRequest m where
|
||||
getRequest = Yesod.waiRequest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user