Module
GraphQL.Hasura.Decode
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#DecodeHasura Source
class DecodeHasura a where
Members
decodeHasura :: Json -> Either JsonDecodeError a
Instances
DecodeHasura Boolean
DecodeHasura String
DecodeHasura Int
DecodeHasura Number
DecodeHasura Json
(DecodeHasura a) => DecodeHasura (Array a)
(DecodeHasura a) => DecodeHasura (Maybe a)
DecodeHasura DateTime
DecodeHasura Date
DecodeHasura Time
(DecodeHasuraFields row list, RowToList row list) => DecodeHasura (Record row)
#DecodeHasuraFields Source
class DecodeHasuraFields :: Row Type -> RowList Type -> Constraint
class DecodeHasuraFields (row :: Row Type) (list :: RowList Type) | list -> row where
Members
decodeHasuraFields :: forall proxy. Object Json -> proxy list -> Either JsonDecodeError (Record row)
Instances
DecodeHasuraFields () Nil
(DecodeHasuraField value, DecodeHasuraFields rowTail tail, IsSymbol field, Cons field value rowTail row, Lacks field rowTail) => DecodeHasuraFields row (Cons field value tail)
#DecodeHasuraField Source
class DecodeHasuraField a where
Members
decodeHasuraField :: Maybe Json -> Maybe (Either JsonDecodeError a)
Instances
(DecodeHasura a) => DecodeHasuraField (Maybe a)
(DecodeHasura a) => DecodeHasuraField a
- 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. Transform. NullableOverrides - 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