Module

GraphQL.Client.ToGqlString

Package
purescript-graphql-client
Repository
OxfordAbstracts/purescript-graphql-client

#KeyVals_ Source

type KeyVals_ = List { key :: String, val :: String }

#ToGqlQueryStringOptions Source

type ToGqlQueryStringOptions = { indentation :: Maybe Int }

#IsIgnoreArg Source

#dateString Source

#indent Source

indent :: forall r. { indentation :: Maybe Int | r } -> String -> String

#padMilli Source

padMilli :: Millisecond -> String

Pad an integer from a millisecond value with enough zeros so it is three

#padl Source

padl :: Int -> Char -> String -> String

#removeTrailingZeros Source

removeTrailingZeros :: String -> String

Remove trailing zeros from a millisecond value.

#showInt Source

showInt :: forall a. BoundedEnum a => a -> String

#timeString Source

#toGqlArgString Source

toGqlArgString :: forall q. GqlArgString q => q -> String

#toGqlQueryString Source

toGqlQueryString :: forall q. GqlQueryString q => q -> String

Generate a GraphQL query from its purs representation

#toGqlQueryStringFormatted Source

toGqlQueryStringFormatted :: forall q. GqlQueryString q => q -> String

Generate a GraphQL query from its purs representation, formatted with indentation for human readability