Skip to content

Commit

Permalink
feat(graphql-request): module
Browse files Browse the repository at this point in the history
  • Loading branch information
WonderPanda committed Mar 27, 2020
1 parent b15ab01 commit c38ca5d
Show file tree
Hide file tree
Showing 12 changed files with 544 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ A collection of Badass modules and utilities to help you level up your NestJS ap

</span>

| Project | Description | Version | Changelog |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [`@golevelup/nestjs-common`](./packages/common) | Common types, mixins | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-common.svg)](https://www.npmjs.com/package/@golevelup/nestjs-common) | [changelog](./packages/common/CHANGELOG.md) |
| [`@golevelup/nestjs-discovery`](./packages/discovery) | `DiscoveryModule` for finding providers, controllers and method handlers from your NestJS app that have certain metadata | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-discovery.svg)](https://www.npmjs.com/package/@golevelup/nestjs-discovery) | [changelog](./packages/discovery/CHANGELOG.md) |
| [`@golevelup/nestjs-rabbitmq`](./packages/rabbitmq) | A NestJS native module for RabbitMQ that supports both RPC and Publish/Subscribe messaging patterns | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-rabbitmq.svg)](https://www.npmjs.com/package/@golevelup/nestjs-rabbitmq) | [changelog](./packages/rabbitmq/CHANGELOG.md) |
| [`@golevelup/nestjs-modules`](./packages/modules) | A Dynamic Module helper. Useful for configuring once and importing anywhere else | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-modules.svg)](https://www.npmjs.com/package/@golevelup/nestjs-modules) | [changelog](./packages/modules/CHANGELOG.md) |
| Project | Description | Version | Changelog |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| [`@golevelup/nestjs-common`](./packages/common) | Common types, mixins | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-common.svg)](https://www.npmjs.com/package/@golevelup/nestjs-common) | [changelog](./packages/common/CHANGELOG.md) |
| [`@golevelup/nestjs-discovery`](./packages/discovery) | `DiscoveryModule` for finding providers, controllers and method handlers from your NestJS app that have certain metadata | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-discovery.svg)](https://www.npmjs.com/package/@golevelup/nestjs-discovery) | [changelog](./packages/discovery/CHANGELOG.md) |
| [`@golevelup/nestjs-rabbitmq`](./packages/rabbitmq) | A NestJS native module for RabbitMQ that supports both RPC and Publish/Subscribe messaging patterns | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-rabbitmq.svg)](https://www.npmjs.com/package/@golevelup/nestjs-rabbitmq) | [changelog](./packages/rabbitmq/CHANGELOG.md) |
| [`@golevelup/nestjs-modules`](./packages/modules) | A Dynamic Module helper. Useful for configuring once and importing anywhere else | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-modules.svg)](https://www.npmjs.com/package/@golevelup/nestjs-modules) | [changelog](./packages/modules/CHANGELOG.md) |
| [`@golevelup/nestjs-hasura`](./packages/hasura) | Super charged Hasura Event Handlers and other utilities for seamlessly integrating Hasura with NestJS | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-hasura.svg)](https://www.npmjs.com/package/@golevelup/nestjs-hasura) | [changelog](./packages/hasura/CHANGELOG.md) |
| [`@golevelup/nestjs-graphql-request`](./packages/graphql-request) | Dependency Injection for GraphQLClient. Make type safe requests to third party GQL APIs | [![version](https://img.shields.io/npm/v/@golevelup/nestjs-graphql-request.svg)](https://www.npmjs.com/package/@golevelup/nestjs-graphql-request) | [changelog](./packages/graphql-request/CHANGELOG.md) |
4 changes: 4 additions & 0 deletions packages/graphql-request/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
11 changes: 11 additions & 0 deletions packages/graphql-request/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @golevelup/nestjs-graphql-request

<p align="center">
<a href="https://www.npmjs.com/package/@golevelup/nestjs-graphql-request"><img src="https://img.shields.io/npm/v/@golevelup/nestjs-graphql-request.svg?style=flat" alt="version" /></a>
<a href="https://www.npmjs.com/package/@golevelup/nestjs-graphql-request"><img alt="downloads" src="https://img.shields.io/npm/dt/@golevelup/nestjs-graphql-request.svg?style=flat"></a>
<img alt="license" src="https://img.shields.io/npm/l/@golevelup/nestjs-graphql-request.svg">
</p>

## Description

This library provides the `GraphQLRequestModule` which makes it easy to initialize an instance of `GraphQLClient` for use in Depdendency Injection. This can be combined with automatic codegen for type safe access to third party GQL APIs from your Nest services

0 comments on commit c38ca5d

Please sign in to comment.