Module
GraphQL.Hasura.DecodeLiberal
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#DecodeLiberalOptions Source
type DecodeLiberalOptions = { strict :: Boolean }
#DecodeHasuraLiberal Source
class DecodeHasuraLiberal a where
Decode json, with silent errors when possible
Members
Instances
(DecodeHasuraLiberal a) => DecodeHasuraLiberal (Array a)
(DecodeHasuraLiberal a) => DecodeHasuraLiberal (Maybe a)
(DecodeHasuraLiberalFields row list, RowToList row list) => DecodeHasuraLiberal (Record row)
(DecodeHasura a) => DecodeHasuraLiberal a
#decodeLiberal Source
decodeLiberal :: forall a. DecodeHasuraLiberal a => Json -> Either JsonDecodeError a
#decodeStrict Source
decodeStrict :: forall a. DecodeHasuraLiberal a => Json -> Either JsonDecodeError a
#DecodeHasuraLiberalFields Source
class DecodeHasuraLiberalFields :: Row Type -> RowList Type -> Constraint
class DecodeHasuraLiberalFields (row :: Row Type) (list :: RowList Type) | list -> row where
Members
decodeHasuraLiberalImplFields :: forall proxy. DecodeLiberalOptions -> Object Json -> proxy list -> Either JsonDecodeError (Record row)
Instances
DecodeHasuraLiberalFields () Nil
(DecodeHasuraLiberalField value, DecodeHasuraLiberalFields rowTail tail, IsSymbol field, Cons field value rowTail row, Lacks field rowTail) => DecodeHasuraLiberalFields row (Cons field value tail)
#DecodeHasuraLiberalField Source
class DecodeHasuraLiberalField a where
Members
decodeHasuraLiberalImplField :: DecodeLiberalOptions -> Maybe Json -> Maybe (Either JsonDecodeError a)
Instances
(DecodeHasuraLiberal a) => DecodeHasuraLiberalField (Maybe a)
(DecodeHasuraLiberal a) => DecodeHasuraLiberalField 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