Module
GraphQL.Client.Args
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#NotNull Source
newtype NotNull tConstructors
NotNull t
Instances
(IsNotNull at param arg, ArgGqlAt at param arg) => ArgGqlAt at (NotNull param) arg(SatisfyNotNullParam param arg) => SatisfyNotNullParam (NotNull param) arg(IsSymbol sym, SatisfyNotNullParam param arg, Cons sym arg rest args) => FoldingWithIndex (ArgsSatisfyNotNullsProps args) (Proxy sym) Unit (NotNull param) Unit
#IgnoreArg Source
data IgnoreArgConstructors
Instances
ArgGqlAt at param IgnoreArg(Fail (Above (Text "An `IgnoreArg` query argument cannot be used with with required schema argument: ") (Beside (Text " ") (Above (Beside (Text "Schema: ") (Quote param)) (Above (Beside (Text "Query: ") (Quote IgnoreArg)) (Beside (Text "At: ") (Quote at))))))) => IsNotNull at param IgnoreArg
#ArgGql Source
class ArgGql :: forall param arg. param -> arg -> Constraintclass ArgGql params args
Instances
#ArgGqlAt Source
class ArgGqlAt :: forall param arg. Symbol -> param -> arg -> Constraintclass ArgGqlAt at params arg
Instances
(ArgGqlAt at param arg) => ArgGqlAt at (AsGql gqlName param) arg(IsNotNull at param arg, ArgGqlAt at param arg) => ArgGqlAt at (NotNull param) argArgGqlAt at param IgnoreArg(Union r () params) => ArgGqlAt at (Variant params) (Variant r)ArgGqlAt at Json (Var sym Json)(Fail (Text "A `Json` query argument can only be used as a variable ")) => ArgGqlAt at Json Json(ArgGqlAt at param arg) => ArgGqlAt at param (Var sym arg)ArgGqlAt at (Array param) NullArray(ArgGqlAt at (Array param) a1, ArgGqlAt at (Array param) a2) => ArgGqlAt at (Array param) (AndArgs a1 a2)(ArgGqlAt at param argL, ArgGqlAt at param argR) => ArgGqlAt at param (OrArg argL argR)(ArgGqlAt at param arg) => ArgGqlAt at param (Maybe arg)(ArgGqlAt at param arg) => ArgGqlAt at (Array param) (Array arg)(ArgGqlAt at param arg) => ArgGqlAt at (Array param) arg(RecordArg p a u) => ArgGqlAt at (Record p) (Record a)ArgGqlAt at p (AllowedMismatch p a)(ArgGqlAt at p a) => ArgGqlAt at p (AllowedMismatch schema a)ArgGqlAt at a a(Newtype n (Record p), RecordArg p a u) => ArgGqlAt at n (Record a)(Fail (Above (Text "Argument type mismatch: ") (Beside (Text " ") (Above (Beside (Text "Schema: ") (Quote param)) (Above (Beside (Text "Query: ") (Quote arg)) (Beside (Text "At: ") (Quote at))))))) => ArgGqlAt at param arg
#IsNotNull Source
class IsNotNull :: forall k1 k2. Symbol -> k1 -> k2 -> Constraintclass IsNotNull at param arg
Instances
(Fail (Above (Text "A `Maybe` query argument cannot be used with with required schema argument: ") (Beside (Text " ") (Above (Beside (Text "Schema: ") (Quote param)) (Above (Beside (Text "Query: ") (Quote arg)) (Beside (Text "At: ") (Quote at))))))) => IsNotNull at param (Maybe arg)(Fail (Above (Text "An `IgnoreArg` query argument cannot be used with with required schema argument: ") (Beside (Text " ") (Above (Beside (Text "Schema: ") (Quote param)) (Above (Beside (Text "Query: ") (Quote IgnoreArg)) (Beside (Text "At: ") (Quote at))))))) => IsNotNull at param IgnoreArg(IsNotNull at param arg) => IsNotNull at (AsGql gqlName param) arg(IsNotNull at param l, IsNotNull at param r) => IsNotNull at param (OrArg l r)IsNotNull at param arg
#RecordArg Source
class RecordArg :: Row Type -> Row Type -> Type -> Constraintclass (HMapWithIndex (ArgPropToGql p) (Record a) u) <= RecordArg p a u
Instances
(HMapWithIndex (ArgPropToGql p) (Record a) u) => RecordArg p a u
#ArgPropToGql Source
newtype ArgPropToGql :: Row Type -> Typenewtype ArgPropToGql params
Constructors
ArgPropToGql (Record params)
Instances
(IsSymbol sym, Cons sym param rest params, ArgGqlAt sym param arg, SatisfyNotNullParam param arg) => MappingWithIndex (ArgPropToGql params) (Proxy sym) arg Unit
#SatisfyNotNullParam Source
class SatisfyNotNullParam (param :: Type) (arg :: Type) | param -> argInstances
(HFoldlWithIndex (ArgsSatisfyNotNullsProps arg) Unit (Record param) Unit) => SatisfyNotNullParam (Record param) (Record arg)(SatisfyNotNullParam param arg) => SatisfyNotNullParam (NotNull param) argSatisfyNotNullParam param arg
#ArgsSatisfyNotNullsProps Source
newtype ArgsSatisfyNotNullsProps :: Row Type -> Typenewtype ArgsSatisfyNotNullsProps args
Constructors
ArgsSatisfyNotNullsProps (Record args)
Instances
(IsSymbol sym, SatisfyNotNullParam param arg, Cons sym arg rest args) => FoldingWithIndex (ArgsSatisfyNotNullsProps args) (Proxy sym) Unit (NotNull param) UnitFoldingWithIndex (ArgsSatisfyNotNullsProps args) (Proxy sym) Unit param Unit
- Modules
- GraphQL.
Client. Alias - GraphQL.
Client. Alias. Dynamic - GraphQL.
Client. Args - GraphQL.
Client. Args. AllowedMismatch - GraphQL.
Client. ArrayOf - GraphQL.
Client. AsGql - GraphQL.
Client. BaseClients. Affjax. Internal - GraphQL.
Client. BaseClients. Affjax. Node - GraphQL.
Client. BaseClients. Affjax. Web - GraphQL.
Client. BaseClients. Apollo - GraphQL.
Client. BaseClients. Apollo. ErrorPolicy - GraphQL.
Client. BaseClients. Apollo. FetchPolicy - GraphQL.
Client. BaseClients. Urql - GraphQL.
Client. Directive - GraphQL.
Client. Directive. Definition - GraphQL.
Client. Directive. Location - GraphQL.
Client. ErrorBoundary - GraphQL.
Client. GqlError - GraphQL.
Client. GqlType - GraphQL.
Client. ID - GraphQL.
Client. NullArray - GraphQL.
Client. Operation - GraphQL.
Client. Query - GraphQL.
Client. QueryReturns - GraphQL.
Client. SafeQueryName - GraphQL.
Client. Subscription - GraphQL.
Client. ToGqlString - GraphQL.
Client. Types - GraphQL.
Client. Union - GraphQL.
Client. Variable - GraphQL.
Client. Variables - GraphQL.
Client. WatchQuery - GraphQL.
Hasura. ComparisonExp - GraphQL.
Hasura. Decode - GraphQL.
Hasura. DecodeLiberal - GraphQL.
Hasura. Encode