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

Hasura.RQL.DDL.Webhook.Transform.Response

Description

Types and subroutines related to constructing transformations on HTTP responses.

Synopsis

Documentation

runResponseTemplateTransform :: Template -> ResponseTransformCtx -> Either TransformErrorBundle Value Source #

A helper function for executing transformations from a Template and a ResponseTransformCtx.

NOTE: This and all related funtions are hard-coded to Kriti at the moment. When we add additional template engines this function will need to take a TemplatingEngine parameter.