@@ -55,11 +55,11 @@ type ReifiedApi = [(ApiOffset, ReifiedEndpoint)]
5555tagType :: Typeable a => f a -> TypedF f a
5656tagType = (R.typeRep :*:)
5757
58−class ToReifiedApi (endpoints :: [*]) where
58+class ToReifiedApi (endpoints ) where
59+
5960 toReifiedApi :: Bundled endpoints -> Proxy endpoints -> ReifiedApi
6061
61−class ( V.Curried (EndpointArgs endpoint) (Handler (EndpointRes endpoint)) ~ Server endpoint
62− , V.RecordToList (EndpointArgs endpoint)
62+class ( V.RecordToList (EndpointArgs endpoint)
6363 , V.RMap (EndpointArgs endpoint)
6464 ) => ToReifiedEndpoint (endpoint :: *) where
6565 type EndpointArgs endpoint :: [Type]
@@ -72,10 +72,11 @@ instance ToReifiedApi '[] where
7272
7373instance
7474 ( Typeable (EndpointRes endpoint)
75+
7576 , NormalizeFunction (ServerT endpoint Handler)
7677 , Normal (ServerT endpoint Handler) ~ V.Curried (EndpointArgs endpoint) (IO (Either ServerError (NonEmpty (Dynamic,Int))))
7778 , ToReifiedEndpoint endpoint
78− , ToReifiedApi endpoints, Typeable (ServerT endpoint Handler)
79+ , ToReifiedApi endpoints
7980 ) =>
8081 ToReifiedApi (endpoint : endpoints)
8182 where