graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.DDL.Webhook.Transform.Body

Synopsis

Documentation

validateBodyTransformFn :: TemplatingEngine -> BodyTransformFn -> Validation TransformErrorBundle () Source #

Validate that the provided BodyTransformFn is correct in the context of a particular TemplatingEngine.

This is a product of the fact that the correctness of a given transformation may be dependent on zero, one, or more of the templated transformations encoded within the given BodyTransformFn.

foldFormEncoded :: HashMap Text ByteString -> ByteString Source #

Fold a HashMap of header key/value pairs into an x-www-form-urlencoded message body.

Orphan instances