From 0dac9701bc3c1048d155d089167659ebcc152199 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 30 Jun 2022 11:10:46 +0200 Subject: Document usage of the json flag --- src/Language/GraphQL/Error.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Language/GraphQL/Error.hs') diff --git a/src/Language/GraphQL/Error.hs b/src/Language/GraphQL/Error.hs index ffd3a78..403aaf6 100644 --- a/src/Language/GraphQL/Error.hs +++ b/src/Language/GraphQL/Error.hs @@ -103,8 +103,8 @@ instance Exception ResolverException -- | Runs the given query computation, but collects the errors into an error -- list, which is then sent back with the data. -- --- /runCollectErrs was part of the old executor and isn't used anymore, it will --- be deprecated in the future and removed./ +-- {-# DEPRECATED runCollectErrs was part of the old executor and isn't used +-- anymore #-} runCollectErrs :: (Monad m, Serialize a) => HashMap Name (Schema.Type m) -> CollectErrsT m a @@ -116,8 +116,8 @@ runCollectErrs types' res = do -- | Executor context. -- --- /Resolution was part of the old executor and isn't used anymore, it will be --- deprecated in the future and removed./ +-- {-# DEPRECATED Resolution was part of the old executor and isn't used +-- anymore #-} data Resolution m = Resolution { errors :: Seq Error , types :: HashMap Name (Schema.Type m) @@ -125,6 +125,6 @@ data Resolution m = Resolution -- | A wrapper to pass error messages around. -- --- /CollectErrsT was part of the old executor and isn't used anymore, it will be --- deprecated in the future and removed./ +-- {-# DEPRECATED CollectErrsT was part of the old executor and isn't used +-- anymore #-} type CollectErrsT m = StateT (Resolution m) m -- cgit v1.2.3