Skip to content

Commit 1f9d80f

Browse files
committed
remove references to old Heroku app from readme
1 parent da0099c commit 1f9d80f

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,7 @@ spago install graphql-client
102102

103103
### Schema
104104

105-
In order to use this library you will need a Purescript representation of your GraphQL schema.
106-
107-
To get started you can convert your grapqhl schema into a purescript schema, using the codegen tool at https://gql-query-to-purs.herokuapp.com . If you are just testing this library out you can paste your graphql schema on the left, copy the purescript schema from the right and add it to your codebase.
108-
109-
If you are looking for a production solution to schema codegen read the rest of this section. If you are just trying the library out, you can skip to the next section.
110-
111-
It is possible to write the schema yourself but it is easier and safer to use the library's codegen tools.
105+
In order to use this library you will need a Purescript representation of your GraphQL schema - this library provides codegen tools to achieve this.
112106

113107
There is an npm library that is a thin wrapper around this library's schema codegen. First, install this package:
114108

@@ -263,9 +257,6 @@ API documentation can be found at https://pursuit.purescript.org/packages/puresc
263257

264258
Once you are set up and have generated your purescript schema. You can write your queries.
265259

266-
The easiest way to do this is to go to https://gql-query-to-purs.herokuapp.com/query and paste your
267-
graphql query on the left. I usually copy the GraphQL query directly from GraphiQL (GraphQL IDE).
268-
269260
You have to the option to make the queries with either `unit`s to mark scalar values (leaf nodes) or symbol record puns. The symbol record puns are slightly less verbose and closer to GraphQL syntax but require you import the generated Symbols module.
270261

271262
### Decoding and Encoding JSON
@@ -291,7 +282,7 @@ result <- queryWithDecoder decodeHasura client "query_to_hasura_service"
291282

292283
### Arguments
293284

294-
Arguments can be added using the `Args` constructor or the `=>>` operator. I recommend using the [query codegen tool](https://gql-query-to-purs.herokuapp.com/query) to test this out and see how it works.
285+
Arguments can be added using the `Args` constructor or the `=>>` operator.
295286

296287
As GraphQL arguments may have mixed types, the library provides tools to help handle this.
297288

0 commit comments

Comments
 (0)