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

Hasura.RQL.Types.Webhook.Transform.Method

Synopsis

Documentation

newtype Method Source #

The actual request method we are transforming.

This newtype is necessary because otherwise we end up with an orphan instance.

Constructors

Method (CI Text) 

Instances

Instances details
FromJSON Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

ToJSON Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

HasCodec Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Generic Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

Show Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

NFData Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Methods

rnf :: Method -> () #

Eq Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Transform Method Source # 
Instance details

Defined in Hasura.RQL.DDL.Webhook.Transform.Method

FromJSON (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

ToJSON (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Generic (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Associated Types

type Rep (TransformFn Method) :: Type -> Type #

Show (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

NFData (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Methods

rnf :: TransformFn Method -> () #

Eq (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep Method = D1 ('MetaData "Method" "Hasura.RQL.Types.Webhook.Transform.Method" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "Method" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CI Text))))
newtype TransformCtx Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

newtype TransformFn Method Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep (TransformFn Method) Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep (TransformFn Method) = D1 ('MetaData "TransformFn" "Hasura.RQL.Types.Webhook.Transform.Method" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "MethodTransformFn_" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MethodTransformFn)))

newtype MethodTransformFn Source #

The defunctionalized transformation on Method.

Constructors

Replace Method

Replace the HTTP existing Method with a new one.

Instances

Instances details
FromJSON MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

ToJSON MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

HasCodec MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Generic MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Associated Types

type Rep MethodTransformFn :: Type -> Type #

Show MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

NFData MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

Methods

rnf :: MethodTransformFn -> () #

Eq MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep MethodTransformFn Source # 
Instance details

Defined in Hasura.RQL.Types.Webhook.Transform.Method

type Rep MethodTransformFn = D1 ('MetaData "MethodTransformFn" "Hasura.RQL.Types.Webhook.Transform.Method" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "Replace" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Method)))