Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nestjs-query/query-graphql

doug-martin12.2kMIT0.30.0TypeScript support: included

Nestjs graphql query adapter

graphql, crud, nestjs, dataloader

readme

Nestjs-query Logo

npm version Test Coverage Status Known Vulnerabilities

@nestjs-query/query-graphql

This package provides a code first implementation of graphql CRUD endpoints. It is built on top of of nestjs.

Installation

Install Guide

Getting Started

The get started with the @nestjs-query/query-graphql package checkout the Getting Started docs.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.30.0 (2021-09-30)

Bug Fixes

  • deps: update apollo graphql packages (6d40b9d)
  • query-graphql: Custom authorizers now behave like auth decorators (ff92b9a)
  • query-graphql: fix eslint errors (73acbc3)

0.29.0 (2021-09-09)

Bug Fixes

  • query-graphql: adapt createFromPromise typings and add tests for passing additional query params (d81e531)
  • query-graphql: pass original query in keyset pager strategy (07f9e7b)

Features

  • graphql: propagate correct query types throughout paging (348044f)

0.28.1 (2021-07-27)

Features

  • graphql,#958,#1160: Enable authorizers on subscriptions (d2f857f), closes #958 #1160

0.28.0 (2021-07-19)

Bug Fixes

  • NestjsQueryGraphqlModuleOpts (984f591)

0.27.0 (2021-05-12)

Features

  • graphql,#1058: Allow declaration of custom ID scalar type (fb2ed7a), closes #1058

0.26.0 (2021-04-13)

Bug Fixes

  • graphql,auth,#1026: Fixed auth context on deleteMany (3d4efd4)
  • graphql,auth,#1026: Fixed renamed export (24b1193)
  • graphql,federation,#1051: check for undefined as well (298150a), closes #1051
  • graphql,federation,#1051: return null for references (6cb832e), closes #1051

Features

  • graphql: Expose setRelations mutation (676a4d5)
  • graphql,#1048: added filter-only option to filterable fields (55cb010), closes #1048
  • graphql,auth: Pass operation name to authorizer #1026 (4343821)
  • graphql,auth,#1026: Added convenience fields to auth context (32df50e), closes #1026
  • graphql,auth,#1026: Enable authorization on create methods as well (4c7905e), closes #1026

0.25.1 (2021-04-07)

Note: Version bump only for package @nestjs-query/query-graphql

0.25.0 (2021-03-31)

Features

  • graphql: Add new aggregate groupBy (922e696)

0.24.5 (2021-03-19)

Note: Version bump only for package @nestjs-query/query-graphql

0.24.4 (2021-03-18)

Note: Version bump only for package @nestjs-query/query-graphql

0.24.3 (2021-03-17)

Features

  • graphql,#609: Allow disabling maxResultSize (a3cd664), closes #609

0.24.2 (2021-03-17)

Bug Fixes

  • graphql,hooks,#957: Fix HookInterceptor not working with custom resolvers (c947b3a)

0.24.0 (2021-03-15)

Features

  • graphql: Allow disabling and/or filters (c20fdbd)
  • typegoose: Add typegoose package (#846) (73cf5cd)

0.23.0 (2021-02-26)

Features

  • graphql: Added new offset connection with totalCount (2780e7e)
  • graphql: Enabling registering DTOs without auto-generating a resolver (2f18142)
  • graphql,hooks: Provide support for injectable hooks (d100de8)
  • graphql,relations: Revert back to unPagedRelation (cb3dc62)

0.22.0 (2021-02-08)

Note: Version bump only for package @nestjs-query/query-graphql

0.21.2 (2020-10-23)

Bug Fixes

  • dataloader cacheKeyFn bigint problem (92171dc)

0.21.1 (2020-10-18)

Features

  • graphql, #586: Allow overriding endpoint name (1634e71), closes #586

0.21.0 (2020-10-16)

Bug Fixes

  • eslint: Fix eslint to recognize sub packages (13fdd2b)

0.20.2 (2020-10-01)

Note: Version bump only for package @nestjs-query/query-graphql

0.20.1 (2020-09-28)

Bug Fixes

  • graphql: Fix assemblers type for module passthrough (713c41c)

0.20.0 (2020-09-17)

Features

  • core: Update assemblers to allow transforming create/update dtos (5085d11)

0.19.4 (2020-09-15)

Features

  • graphql: Add keyset connections (36bdbdd)

0.19.3 (2020-09-09)

Bug Fixes

  • graphql,hooks: Allow getting hooks from parent classes (59a0aeb)

0.19.2 (2020-09-03)

Bug Fixes

  • graphql, #505: Less restrictive readResolverOpts for auto crud (b4e6862), closes #505

0.19.0 (2020-09-01)

Features

  • graphql,auth: Add authorization to resolvers and relations (9d76787)

0.18.1 (2020-08-14)

Note: Version bump only for package @nestjs-query/query-graphql

0.18.0 (2020-08-11)

Note: Version bump only for package @nestjs-query/query-graphql

0.17.10 (2020-08-01)

Note: Version bump only for package @nestjs-query/query-graphql

0.17.9 (2020-07-29)

Features

  • graphql: Allow specifying fields that are required when querying (a425ba7)

0.17.8 (2020-07-28)

Features

  • graphql: Allow specifying allowed comparisons on filterable fields (ced2792)

0.17.7 (2020-07-27)

Note: Version bump only for package @nestjs-query/query-graphql

0.17.6 (2020-07-24)

Bug Fixes

  • graphql: Include inherited references and relations (26dd6f9)

0.17.5 (2020-07-24)

Bug Fixes

  • graphql,aggregations: Exclude __typename in aggregations (3897673)

0.17.4 (2020-07-23)

Features

  • graphql,hooks: Add before hooks to graphql mutations (3448955)

0.17.3 (2020-07-17)

Bug Fixes

  • graphql: Fix filters to transform to expected type #317 (0d28b0b)

0.17.2 (2020-07-17)

Note: Version bump only for package @nestjs-query/query-graphql

0.17.1 (2020-07-17)

Features

  • complexity: Add complexity support for relations (aa85325)

0.17.0 (2020-07-16)

Features

  • aggregations: Add aggregations to graphql (af075d2)
  • aggregations,relations: Add relation aggregation graphql enpoints (56bb7e0)

0.16.2 (2020-07-09)

Bug Fixes

  • imports: Remove additional /src references (9528772)

0.16.1 (2020-07-07)

Note: Version bump only for package @nestjs-query/query-graphql

0.16.0 (2020-07-05)

Features

  • graphql: Enable filtering on ORM relations (60229b8)

0.15.1 (2020-06-27)

Note: Version bump only for package @nestjs-query/query-graphql

0.15.0 (2020-06-23)

Features

  • graphql,connection: Add totalCount to connections (ed1e84a)

0.14.3 (2020-06-20)

Bug Fixes

  • graphql,subscriptions: Expose InjectPubSub decorator (867022e)

0.14.1 (2020-06-19)

Bug Fixes

  • graphql: Allow custom scalars for comparisons (57cbe38)

0.14.0 (2020-06-18)

Features

  • graphql,paging: Add NONE paging strategy (216d926)

0.13.2 (2020-06-14)

Bug Fixes

  • graphl,filters: Allow for enums when filtering (60dcc30)

0.13.1 (2020-06-12)

Bug Fixes

  • graphql,paging: Fix for #281 paging backwards windowing (c319344)

0.13.0 (2020-06-12)

Features

  • graphql: Add limit offset paging without connections (5fc3e90)

0.12.0 (2020-06-07)

Features

  • graphql: Add graphql subscriptions (5dc987f)

0.11.8 (2020-05-30)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.7 (2020-05-29)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.6 (2020-05-26)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.5 (2020-05-21)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.4 (2020-05-19)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.3 (2020-05-16)

Note: Version bump only for package @nestjs-query/query-graphql

0.11.2 (2020-05-14)

Bug Fixes

Features

  • graphql,core: Add support for custom services and assemblers (85e8658)

0.11.1 (2020-05-11)

Features

  • graphql: Add support for auto-generated federations (238f641)

0.11.0 (2020-05-09)

Features

  • graphql: Add graphql module (282c421)
  • graphql: Add relation/connection decorators (a75cf96)

0.10.1 (2020-05-02)

Bug Fixes

  • graphql: Fix paging to properly check next/previous page (13c7bd9)

0.10.0 (2020-04-29)

Features

  • sequelize: Initial Sequelize support (bfcf436)

0.9.0 (2020-04-26)

Note: Version bump only for package @nestjs-query/query-graphql

0.8.9 (2020-04-24)

Note: Version bump only for package @nestjs-query/query-graphql

0.8.8 (2020-04-23)

Note: Version bump only for package @nestjs-query/query-graphql

0.8.7 (2020-04-23)

Note: Version bump only for package @nestjs-query/query-graphql