Skip to content

Commit a2606a2

Browse files
committed
Deprecate UVerb (the hard version).
1 parent 27e2675 commit a2606a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant/src/Servant/API/UVerb.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ instance HasStatus a => HasStatus (Headers ls a) where
9696
-- | WARNING: UVerb is deprecated. Please use MultiVerb instead!
9797
--
9898
-- A variant of 'Verb' that can have any of a number of response values and status codes.
99-
data UVerb (method :: StdMethod) (contentTypes :: [Type]) (as :: [Type])
99+
data UVerb {-# DEPRECATED "Use MultiVerb instead" #-} (method :: StdMethod) (contentTypes :: [Type]) (as :: [Type])
100100

101101
instance {-# OVERLAPPING #-} MimeRender JSON a => MimeRender JSON (WithStatus _status a) where
102102
mimeRender contentTypeProxy (WithStatus a) = mimeRender contentTypeProxy a

0 commit comments

Comments
 (0)