Module
GraphQLClient.Argument
- Package
- purescript-graphqlclient
- Repository
- purescript-graphqlclient/purescript-graphqlclient
#ToGraphQLArgumentValue Source
class ToGraphQLArgumentValue a whereMembers
toGraphQLArgumentValue :: a -> ArgumentValue
Instances
ToGraphQLArgumentValue StringToGraphQLArgumentValue IntToGraphQLArgumentValue Boolean(RowToList row list, ToGraphQLArgumentImplementationRecord list row) => ToGraphQLArgumentValue (Record row)(ToGraphQLArgumentValue a) => ToGraphQLArgumentValue (Maybe a)(ToGraphQLArgumentValue a) => ToGraphQLArgumentValue (Array a)
#toGraphQLArguments Source
toGraphQLArguments :: forall row list. RowToList row list => ToGraphQLArgumentImplementationRecord list row => (Record row) -> Array Argumentelse instance toGraphQLArgumentValueNewtype :: (Newtype a b, ToGraphQLArgumentValue b) => ToGraphQLArgumentValue a where toGraphQLArgumentValue = toGraphQLArgumentValue <<< unwrap
#ToGraphQLArgumentImplementationRecord Source
class ToGraphQLArgumentImplementationRecord (list :: RowList Type) (row :: Row Type) | list -> row whereMembers
toGraphQLArgumentImplementationRecord :: forall proxy. proxy list -> Record row -> Array Argument
Instances
(RowToList childRow childList, ToGraphQLArgumentImplementationRecord childList childRow, ToGraphQLArgumentImplementationRecord tail row, IsSymbol field, Cons field (Record childRow) rowTail row) => ToGraphQLArgumentImplementationRecord (Cons field (Record childRow) tail) row(ToGraphQLArgumentValue value, ToGraphQLArgumentImplementationRecord tail row, IsSymbol field, Cons field (Optional value) rowTail row) => ToGraphQLArgumentImplementationRecord (Cons field (Optional value) tail) rowToGraphQLArgumentImplementationRecord Nil row(ToGraphQLArgumentValue value, ToGraphQLArgumentImplementationRecord tail row, IsSymbol field, Cons field value rowTail row) => ToGraphQLArgumentImplementationRecord (Cons field value tail) row
#Optional Source
data Optional xConstructors
Instances
(ToGraphQLArgumentValue value, ToGraphQLArgumentImplementationRecord tail row, IsSymbol field, Cons field (Optional value) rowTail row) => ToGraphQLArgumentImplementationRecord (Cons field (Optional value) tail) row(Eq a) => Eq (Optional a)(Ord a) => Ord (Optional a)(Show a) => Show (Optional a)Functor OptionalDefaultInput (Optional a)
#DefaultInput Source
class DefaultInput a whereMembers
defaultInput :: a
Instances
DefaultInput (Optional a)(DefaultInputImplementationRecord row list, RowToList row list) => DefaultInput (Record row)
#DefaultInputImplementationRecord Source
class DefaultInputImplementationRecord (row :: Row Type) (list :: RowList Type) | list -> row whereMembers
defaultInputImplementationRecord :: RLProxy list -> Record row
Instances
DefaultInputImplementationRecord () Nil(DefaultInput value, DefaultInputImplementationRecord rowTail tail, IsSymbol field, Cons field value rowTail row, Lacks field rowTail) => DefaultInputImplementationRecord row (Cons field value tail)