@mfgx/shared-lib-http-client-graphql

3.35.0 • Public • Published

MFGx GraphQL Client

This package contains an GraphQL client implementation that allows for deferred execution of GraphQL requests.

graphqlRequest

The function takes in a GraphQL Request and returns a Reader of Async where the environment is an HttpEnvironment (see http-client). It also applies a transformation to the HttpResponse to handle GraphQL responses.

GraphQLRequest :: { query: String, variables?: Object } graphqlRequest :: GraphQLRequest -> ReaderT HttpEnvironment (Async Error Object)

Readme

Keywords

none

Package Sidebar

Install

npm i @mfgx/shared-lib-http-client-graphql

Weekly Downloads

3

Version

3.35.0

License

MIT

Unpacked Size

31.3 kB

Total Files

4

Last publish

Collaborators

  • lmenard