AA
Size: a a a
AA
A
AA
MK

MK
MK
MK
LO
LO
A
MK
DB
type ByIdAPI entity = Capture "id" ObjectId :> SearchResponse entity
instance FromHttpApiData ObjectId where
parseUrlPiece str = case readEither $ unpack str of
Right a -> Right a
Left a -> Left $ pack a
DB
A
Capture '[], с нужным modifiers подставить, чтоб провалить ошибку на сервер?A
DB
DB
DB
type ByIDAPI entity = Capture' '[Strict, Required] "id" ObjectId :> SearchResponse entity