Module
GraphQL.Client.ToGqlString
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#KeyVals Source
newtype KeyValsConstructors
Instances
(GqlQueryString a, IsSymbol sym, IsSymbol alias) => FoldingWithIndex PropToGqlString (Proxy sym) KeyVals (Alias (Proxy alias) a) KeyVals(GqlQueryString a, IsSymbol sym) => FoldingWithIndex PropToGqlString (Proxy sym) KeyVals a KeyVals(GqlArgString a, IsSymbol sym, IsIgnoreArg a) => FoldingWithIndex PropToGqlArg (Proxy sym) KeyVals a KeyVals
#PropToGqlArg Source
data PropToGqlArgConstructors
Instances
(GqlArgString a, IsSymbol sym, IsIgnoreArg a) => FoldingWithIndex PropToGqlArg (Proxy sym) KeyVals a KeyVals
#PropToGqlString Source
data PropToGqlStringConstructors
Instances
(GqlQueryString a, IsSymbol sym, IsSymbol alias) => FoldingWithIndex PropToGqlString (Proxy sym) KeyVals (Alias (Proxy alias) a) KeyVals(GqlQueryString a, IsSymbol sym) => FoldingWithIndex PropToGqlString (Proxy sym) KeyVals a KeyVals
#ToGqlQueryStringOptions Source
type ToGqlQueryStringOptions = { indentation :: Maybe Int }#GqlAndArgsString Source
class GqlAndArgsString q whereMembers
toGqlAndArgsStringImpl :: q -> String
Instances
(GqlArgString a1, GqlAndArgsString (AndArgs a2 a3)) => GqlAndArgsString (AndArgs (Array a1) (AndArgs a2 a3))(GqlArgString a1, GqlArgString a2) => GqlAndArgsString (AndArgs (Array a1) (Array a2))(GqlArgString a1, GqlArgString a2) => GqlAndArgsString (AndArgs (Array a1) a2)
#GqlArgString Source
class GqlArgString q whereMembers
toGqlArgStringImpl :: q -> String
Instances
GqlArgString IgnoreArgGqlArgString StringGqlArgString IntGqlArgString NumberGqlArgString BooleanGqlArgString DateGqlArgString TimeGqlArgString DateTime(GqlArgString a) => GqlArgString (Maybe a)(GqlArgString a) => GqlArgString (Array a)(IsSymbol sym) => GqlArgString (Var sym a)(GqlArgString argL, GqlArgString argR) => GqlArgString (OrArg argL argR)(GqlAndArgsString (AndArgs a1 a2)) => GqlArgString (AndArgs a1 a2)(HFoldlWithIndex PropToGqlArg KeyVals (Record r) KeyVals) => GqlArgString (Record r)
#GqlQueryString Source
class GqlQueryString q whereMembers
toGqlQueryStringImpl :: ToGqlQueryStringOptions -> q -> String
Instances
GqlQueryString Unit(GqlQueryString query) => GqlQueryString (WithVars query vars)(IsSymbol s) => GqlQueryString (Proxy s)(IsSymbol s) => GqlQueryString (Var s a)(IsSymbol alias, GqlQueryString (Args args fields)) => GqlQueryString (Spread (Proxy alias) args fields)(HFoldlWithIndex PropToGqlArg KeyVals (Record args) KeyVals) => GqlQueryString (Args (Record args) Unit)(HFoldlWithIndex PropToGqlArg KeyVals (Record args) KeyVals, GqlQueryString body) => GqlQueryString (Args (Record args) body)(HFoldlWithIndex PropToGqlString KeyVals (Record r) KeyVals) => GqlQueryString (Record r)(HFoldlWithIndex PropToGqlString KeyVals (Record r) KeyVals) => GqlQueryString (GqlUnion r)
#IsIgnoreArg Source
class IsIgnoreArg a whereMembers
isIgnoreArg :: a -> Boolean
Instances
IsIgnoreArg IgnoreArg(IsIgnoreArg l, IsIgnoreArg r) => IsIgnoreArg (OrArg l r)IsIgnoreArg a
#dateString Source
dateString :: Date -> String#gqlArgStringRecord Source
gqlArgStringRecord :: forall r. HFoldlWithIndex PropToGqlArg KeyVals (Record r) KeyVals => Record r -> String#gqlArgStringRecordBody Source
gqlArgStringRecordBody :: forall r. HFoldlWithIndex PropToGqlArg KeyVals (Record r) KeyVals => Record r -> String#gqlArgStringRecordTopLevel Source
gqlArgStringRecordTopLevel :: forall r. HFoldlWithIndex PropToGqlArg KeyVals (Record r) KeyVals => Record r -> String#gqlQueryStringRecord Source
gqlQueryStringRecord :: forall r. ToGqlQueryStringOptions -> (HFoldlWithIndex PropToGqlString KeyVals (Record r) KeyVals => Record r -> String)#padMilli Source
padMilli :: Millisecond -> StringPad an integer from a millisecond value with enough zeros so it is three
#removeTrailingZeros Source
removeTrailingZeros :: String -> StringRemove trailing zeros from a millisecond value.
#showInt Source
showInt :: forall a. BoundedEnum a => a -> String#timeString Source
timeString :: Time -> String#toGqlArgString Source
toGqlArgString :: forall q. GqlArgString q => q -> String#toGqlQueryString Source
toGqlQueryString :: forall q. GqlQueryString q => q -> StringGenerate a GraphQL query from its purs representation
#toGqlQueryStringFormatted Source
toGqlQueryStringFormatted :: forall q. GqlQueryString q => q -> StringGenerate a GraphQL query from its purs representation, formatted with indentation for human readability
- Modules
- Data.
GraphQL. AST - Data.
GraphQL. Parser - GraphQL.
Client. Alias - GraphQL.
Client. Alias. Dynamic - GraphQL.
Client. Args - 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. CodeGen. GetSymbols - GraphQL.
Client. CodeGen. Js - GraphQL.
Client. CodeGen. Lines - GraphQL.
Client. CodeGen. Query - GraphQL.
Client. CodeGen. Schema - GraphQL.
Client. CodeGen. Template. Enum - GraphQL.
Client. CodeGen. Template. Schema - GraphQL.
Client. CodeGen. Types - GraphQL.
Client. ID - 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. Variables. TypeName - GraphQL.
Client. WatchQuery - GraphQL.
Hasura. Array - GraphQL.
Hasura. ComparisonExp - GraphQL.
Hasura. Decode - GraphQL.
Hasura. DecodeLiberal - GraphQL.
Hasura. Encode