servant-queryparam-server-2.0.0: Server support for servant-queryparam-core.
Safe HaskellSafe-Inferred
LanguageGHC2021

Servant.QueryParam.Server.Record

Description

This module exports orphan instances to make servant-queryparam-core work with servers.

Orphan instances

(Generic a, GHasServer mod (Rep a) context api) => HasServer (RecordParam mod a :> api :: Type) context Source # 
Instance details

Associated Types

type ServerT (RecordParam mod a :> api) m #

Methods

route :: Proxy (RecordParam mod a :> api) -> Context context -> Delayed env (Server (RecordParam mod a :> api)) -> Router env #

hoistServerWithContext :: Proxy (RecordParam mod a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (RecordParam mod a :> api) m -> ServerT (RecordParam mod a :> api) n #