Skip to content

growthagent/purescript-graphql-client

 
 

Repository files navigation

purescript-graphql-client

TODO:

  1. Circular input objects? Do we want that? (use Newtype if we want)
  2. Subscriptions

Inspiration


How to install

npm install "git+https://github.com/purescript-graphql-client/purescript-graphql-client#COMMIT_HASH"
# or
yarn add "git+https://github.com/purescript-graphql-client/purescript-graphql-client#COMMIT_HASH"

How to run generator

purescript-graphql-client-generator --input-url … --output … --api … --custom-scalars-module …

Requirements on the $PATH to build (should be installed globally)

  • purescript: ~0.13.8
  • spago: ~0.16.0

How to bundle a new build

yarn bundle

How to regenerate examples

spago install
spago --config generator-spago.dhall install
./regenerate-examples.sh
yarn run examples:test --watch
git push

How to run generator from source

yarn install

# check ./regenerate-examples.sh file
spago --config generator-spago.dhall run \
  --main GraphQLClientGenerator.Main \
  --node-args "--help"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PureScript 95.8%
  • JavaScript 1.6%
  • Shell 1.6%
  • Dhall 1.0%