Module
GraphQL.Client.Alias.Dynamic
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#Spread Source
data Spread alias args fields
Used for creating spread aliases dynamically eq:
mutation myUpdates {
_1: update_users(where: {id : 1}, _set: { value: 10 }) { affected_rows }
_2: update_users(where: {id : 2}, _set: { value: 15 }) { affected_rows }
_3: update_users(where: {id : 3}, _set: { value: 20 }) { affected_rows }
}
Constructors
#SpreadRes Source
newtype SpreadRes a
The return type of a query made with a dynamic alias spread This type has encodes/decodes as an object with "_n" as a key
Constructors
Instances
Generic (SpreadRes a) _
Newtype (SpreadRes a) _
(Eq a) => Eq (SpreadRes a)
(Ord a) => Ord (SpreadRes a)
(Show a) => Show (SpreadRes a)
(DecodeHasura a) => DecodeHasura (SpreadRes a)
(DecodeJson a) => DecodeJson (SpreadRes a)
(EncodeHasura a) => EncodeHasura (SpreadRes a)
(EncodeJson a) => EncodeJson (SpreadRes a)
#decodeSpreadRes Source
decodeSpreadRes :: forall a. (Json -> Either JsonDecodeError a) -> Json -> Either JsonDecodeError (SpreadRes 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