mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
f80b69e931
* add 'ID' to default scalars for custom types, fix #4061 * preserve cookie headers from sync action webhook, close #4021 * validate action webhook response to conform to output type, fix #3977 * fix tests, don't run actions' tests on PG version < 10 * update CHANGELOG.md * no-op refactor, use types from http-network more Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
14 lines
281 B
Haskell
14 lines
281 B
Haskell
module Hasura.Server.Context
|
|
(HttpResponse(..))
|
|
where
|
|
|
|
import Hasura.Prelude
|
|
|
|
import qualified Network.HTTP.Types as HTTP
|
|
|
|
data HttpResponse a
|
|
= HttpResponse
|
|
{ _hrBody :: !a
|
|
, _hrHeaders :: !HTTP.ResponseHeaders
|
|
} deriving (Functor, Foldable, Traversable)
|