Remove unused QueryError.TransformationError

This commit is contained in:
2021-05-11 07:11:47 +02:00
parent 1af95345d2
commit f671645043
4 changed files with 20 additions and 28 deletions

View File

@ -33,7 +33,7 @@ execute :: (MonadCatch m, VariableValue a, Serialize b)
-> m (Either (ResponseEventStream m b) (Response b))
execute schema' operationName subs document =
case Transform.document schema' operationName subs document of
Left queryError -> pure $ singleError $ Transform.queryError queryError
Left queryError -> pure $ singleError $ show queryError
Right transformed -> executeRequest transformed
executeRequest :: (MonadCatch m, Serialize a)