Skip to content

Commit c38ca5d

Browse files
committed
feat(graphql-request): module
1 parent b15ab01 commit c38ca5d

12 files changed

Lines changed: 544 additions & 6 deletions

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ A collection of Badass modules and utilities to help you level up your NestJS ap
1515

1616
</span>
1717

18-
| Project | Description | Version | Changelog |
19-
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
20-
| [`@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) |
21-
| [`@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) |
22-
| [`@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) |
23-
| [`@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) |
18+
| Project | Description | Version | Changelog |
19+
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
20+
| [`@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) |
21+
| [`@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) |
22+
| [`@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) |
23+
| [`@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) |
24+
| [`@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) |
25+
| [`@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) |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

packages/graphql-request/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# @golevelup/nestjs-graphql-request
2+
3+
<p align="center">
4+
<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>
5+
<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>
6+
<img alt="license" src="https://img.shields.io/npm/l/@golevelup/nestjs-graphql-request.svg">
7+
</p>
8+
9+
## Description
10+
11+
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 commit comments

Comments
 (0)