git.iko.soy/rowtype-yoga/purescript-graphql-fundeps
on main help sign in
Corrects test command
commitc8a64567b3fa5bde1b43b1044d579a79af9949e2 authorMike Solomon <mike@meeshkan.com> dateWed 19 May 2021, 12:39 (5 years ago) parent38e10d6
2 files changed+2−2
package.json+1−1 src/GraphQL.purs+1−1
package.json+1−1
@@ -3,7 +3,7 @@
33 "version": "0.0.0",
44 "scripts": {
55 "postinstall": "spago install && spago build",
6− "test": "spago test"
6+ "test": "spago -x test.dhall test"
77 },
88 "keywords": [],
99 "author": "",
src/GraphQL.purs+1−1
@@ -31,7 +31,7 @@ type GraphQLClient' (operation :: GraphQL) (gql :: Symbol) (i :: Row Type) (o ::
3131
3232type GraphQLClient = forall (operation :: GraphQL) (gql :: Symbol) (i :: Row Type) (o :: Row Type). GraphQLClient' operation gql i o
3333
34−graphQL :: Endpoint -> Array RequestHeader -> (forall (operation :: GraphQL) (gql :: Symbol) (i :: Row Type) (o :: Row Type). GraphQLReqRes operation gql i o => IsSymbol gql => JSON.WriteForeign { | i } => JSON.ReadForeign { | o } => Gql operation -> Record i -> Aff { | o })
34+graphQL :: Endpoint -> Array RequestHeader -> GraphQLClient
3535graphQL endpoint headers = go
3636 where
3737 go :: forall (operation :: GraphQL) (gql :: Symbol) (i :: Row Type) (o :: Row Type). GraphQLReqRes operation gql i o => IsSymbol gql => JSON.WriteForeign { | i } => JSON.ReadForeign { | o } => Gql operation -> Record i -> Aff { | o }