All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.30.0 (2021-09-30)
- deps: update apollo graphql packages (6d40b9d)
- deps: update dependency passport to v0.5.0 (a8a05d1)
- deps: update docusaurus monorepo to v2.0.0-beta.6 (9015c71)
- query-graphql: Custom authorizers now behave like auth decorators (ff92b9a)
- query-graphql: fix eslint errors (73acbc3)
- query-typeorm: import jest-extended into typeorm query service (f539b29)
- tests: fix jest-extended typings and eslint problems (6af8af1)
- typeorm: revert uneeded change to test entity (86f7fd9)
- query-typeorm: allow deeply nested filters (0bd6b76)
0.29.0 (2021-09-09)
- deps: update dependency @nestjs/passport to v8.0.1 (4ce73e8)
- deps: update dependency graphql-query-complexity to v0.9.0 (e34d870)
- deps: update dependency graphql-tools to v8 (5dd27b8)
- deps: update dependency graphql-tools to v8.1.0 (52f4595)
- deps: update dependency graphql-tools to v8.2.0 (a31316b)
- deps: update dependency mysql2 to v2.3.0 (0b243bb)
- deps: update dependency pg to v8.7.0 (b6c0d42)
- deps: update dependency pg to v8.7.1 (dee5981)
- deps: update dependency rxjs to v7.3.0 (70d08c9)
- query-graphql: adapt createFromPromise typings and add tests for passing additional query params (d81e531)
- query-graphql: pass original query in keyset pager strategy (07f9e7b)
- graphql: propagate correct query types throughout paging (348044f)
- query-typegoose: Adds the ability to use discriminators (#1321) (2a7da59), closes #1320
0.28.1 (2021-07-27)
- deps: update docusaurus monorepo to v2.0.0-beta.3 (65bafa7)
- query-typegoose: ignore undefined id field in creation dto (#1165) (db5bf44)
- typegoose: allow undefined id field when updating or creating (c2031aa)
0.28.0 (2021-07-19)
- fix highlight and duplicate example (50b09a0)
- fix module name (28800dc)
- used the relevant example (c9e4875)
- deps: update dependency @nestjs/jwt to v8 (b3eeed3)
- deps: update dependency @nestjs/passport to v7.1.6 (5f02632)
- deps: update dependency @nestjs/passport to v8 (f861bf8)
- deps: update dependency apollo-server-express to v2.24.1 (8f549e5)
- deps: update dependency apollo-server-express to v2.25.0 (1e14523)
- deps: update dependency apollo-server-express to v2.25.1 (3ddf4ce)
- deps: update dependency apollo-server-express to v2.25.2 (5b4e960)
- deps: update dependency apollo-server-plugin-base to v0.13.0 (aaef654)
- deps: update dependency rxjs to v7.2.0 (276df90)
- NestjsQueryGraphqlModuleOpts (984f591)
- deps: update dependency rxjs to v7.1.0 (99e564d)
- deps: update docusaurus monorepo to v2.0.0-beta.0 (3370384)
0.27.0 (2021-05-12)
- deps: update dependency apollo-server-express to v2.23.0 (29b4b6c)
- deps: update dependency apollo-server-express to v2.24.0 (174fd38)
- deps: update dependency apollo-server-plugin-base to v0.12.0 (7265251)
- deps: update dependency classnames to v2.3.1 (a94dded)
- deps: update dependency graphql-query-complexity to v0.8.1 (a8b4764)
- deps: update dependency graphql-tools to v7.0.5 (1afde63)
- deps: update dependency pg to v8.6.0 (1b51a6b)
- deps: update dependency rxjs to v7 (5c54794)
- deps: update dependency rxjs to v7.0.1 (c9ce5a6)
- Update examples to use new generated input type names (f987dcd)
0.26.0 (2021-04-13)
- 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
- core: Add new
setRelations
to set oneToMany/manyToMany relations (4c73591) - 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
- mongoose: Implement
setRelations
to set many references (3dc8a84) - sequelize: Implement
setRelations
to set many relations (b0c2d2f) - typegoose: Implement
setRelations
to set many references (4ec5fe0) - typeorm: Implement
setRelations
to set many relations (d1109b7)
0.25.1 (2021-04-07)
0.25.0 (2021-03-31)
- Add consistent sorting for aggregate queries (4ac7a14)
- deps: update dependency apollo-server-express to v2.22.1 (0a342bd)
- deps: update dependency apollo-server-express to v2.22.2 (48bafef)
- deps: update dependency apollo-server-plugin-base to v0.11.0 (a6387ce)
- deps: update dependency rxjs to v6.6.7 (4708635)
- deps: update react monorepo to v17.0.2 (11819da)
- core: Add aggregate group by (d5eb73b)
- graphql: Add new aggregate groupBy (922e696)
- mongoose: Update to support new aggregate with groupBy (ccd0438)
- sequelize: Update to support new aggregate with groupBy (81fdef1)
- typegoose: Update to support new aggregate with groupBy (90992e1)
- typeorm: Update to support new aggregate with groupBy (e2a4f30)
0.24.5 (2021-03-19)
- deps: update dependency apollo-server-express to v2.21.2 (8b3b3ec)
- deps: update dependency graphql-query-complexity to v0.8.0 (99c93e6)
- deps: update docusaurus monorepo to v2.0.0-alpha.ffe8b6106 (6672092)
0.24.4 (2021-03-18)
Note: Version bump only for package nestjs-query
0.24.3 (2021-03-17)
0.24.2 (2021-03-17)
- graphql,hooks,#957: Fix HookInterceptor not working with custom resolvers (c947b3a)
0.24.1 (2021-03-16)
0.24.0 (2021-03-15)
- deps: update dependency apollo-server-express to v2.21.1 (cb43994)
0.23.1 (2021-02-26)
0.23.0 (2021-02-26)
- deps: update dependency apollo-server-express to v2.20.0 (ac3fb92)
- deps: update dependency apollo-server-express to v2.21.0 (e3039c3)
- deps: update dependency graphql-tools to v7.0.3 (8e2ef1c)
- deps: update dependency graphql-tools to v7.0.4 (cba3d4d)
- deps: update dependency rxjs to v6.6.6 (13e251b)
- 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)
- deps: update dependency @nestjs/jwt to v7.2.0 (a8845c2)
- deps: update dependency @nestjs/passport to v7.1.1 (2be7848)
- deps: update dependency @nestjs/passport to v7.1.2 (4a38d0c)
- deps: update dependency @nestjs/passport to v7.1.3 (a74b544)
- deps: update dependency @nestjs/passport to v7.1.4 (84471a4)
- deps: update dependency @nestjs/passport to v7.1.5 (2bc9164)
- deps: update dependency apollo-server-express to v2.19.0 (1624f4e)
- deps: update dependency apollo-server-express to v2.19.1 (63cc89f)
- deps: update dependency apollo-server-express to v2.19.2 (6035bdd)
- deps: update dependency apollo-server-plugin-base to v0.10.2 (b39da69)
- deps: update dependency apollo-server-plugin-base to v0.10.3 (12093ae)
- deps: update dependency apollo-server-plugin-base to v0.10.4 (7c0e391)
- deps: update dependency graphql-query-complexity to v0.7.1 (8bd196d)
- deps: update dependency graphql-query-complexity to v0.7.2 (905f0f5)
- deps: update dependency graphql-tools to v6.2.6 (c1bba6d)
- deps: update dependency graphql-tools to v7.0.2 (6b204dc)
- deps: update dependency pg to v8.4.2 (be2dd88)
- deps: update dependency pg to v8.5.0 (52e4258)
- deps: update dependency pg to v8.5.1 (b435a7f)
- deps: update dependency uuid to v8.3.2 (289f1ed)
- deps: update docusaurus monorepo to v2.0.0-alpha.68 (31ec621)
- deps: update docusaurus monorepo to v2.0.0-alpha.69 (6430d84)
- deps: update docusaurus monorepo to v2.0.0-alpha.fd17476c3 (c34ebf2)
- deps: Update mongoose and @nestjs/mongoose to latest versions (ca575cf)
- deps: update react monorepo to v17 (b9a6339)
0.21.2 (2020-10-23)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.66 (0f323ec)
- deps: update dependency graphql-tools to v6.2.5 (4b491b2)
- dataloader cacheKeyFn bigint problem (92171dc)
- codeql: Use language auto-detect (63e4632)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.66 (5546a6c)
- core: added two new filter helpers (031012e)
0.21.1 (2020-10-18)
0.21.0 (2020-10-16)
- core: Look up the proper assembler with inheritance (8bd22c5)
- deps: update dependency apollo-server-express to v2.18.2 (cb9d708)
- deps: update dependency pg to v8.4.0 (d8a76bd)
- deps: update dependency pg to v8.4.1 (d04537b)
- eslint: Fix eslint to recognize sub packages (13fdd2b)
- mongodb: Delete unsupported MongoDB soft deletion (22decdf)
- mongodb: Add basic support for MongoDB (ce4c5e9)
- mongodb: Add support for all filter operators (9420036)
- mongodb: Add support for find relations with MongoDB (f4190e6)
- mongodb: Add support for list of references (bc926a4)
- mongodb: Allow to customize mongoose document options (46db24a)
- mongodb: Allow to override filter operators (24e7c0a)
- mongodb: Include virtuals on document responses (bc407a0)
- mongodb: Use new filter on typegoose query service (de34e92)
- mongodb: Use typegoose for MongoDB support (702dc83)
- mongoose: Add mongo support (ba21ed4)
- mongoose: Hardening reference support (107bba0)
- mongoose: Remove unused code (7715ce7)
- mongoose: Switch to native mongoose support (5cdfa39)
0.20.2 (2020-10-01)
- deps: update dependency graphql-tools to v6.2.4 (d363cbc)
- filters: Fix bug with incorect parameters in filter (6ada4f4)
- filters: Fix bug with incorect parameters in filters (9f4e93b)
- typeorm: fix unit tests after fix filters bug (5f50419)
- core: parallelize queries within relation query service (b339a2a)
0.20.1 (2020-09-28)
- deps: update dependency apollo-server-express to v2.18.0 (ca28fda)
- deps: update dependency apollo-server-express to v2.18.1 (b5f9378)
- deps: update dependency apollo-server-plugin-base to v0.10.1 (735032a)
- deps: update dependency graphql-tools to v6.2.3 (642c11f)
- deps: update dependency mysql2 to v2.2.1 (5159077)
- deps: update dependency mysql2 to v2.2.2 (f9235b2)
- deps: update dependency mysql2 to v2.2.3 (a2a5afc)
- deps: update dependency mysql2 to v2.2.5 (b66e6e6)
- graphql: Fix assemblers type for module passthrough (713c41c)
0.20.0 (2020-09-17)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.64 (ea0a202)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.64 (3d3dd96)
- core: Update assemblers to allow transforming create/update dtos (5085d11)
- core: Update query service decorator to have correct generics (74dc618)
0.19.4 (2020-09-15)
- deps: update dependency graphql-tools to v6.2.2 (8a2253b)
- graphql: Add keyset connections (36bdbdd)
0.19.3 (2020-09-09)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.63 (631e922)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.63 (aa95f40)
- deps: update dependency graphql-tools to v6.2.1 (b1e0833)
- deps: update dependency rxjs to v6.6.3 (addf2e2)
- examples: Fix nest-cli.json to reference correct tsconfig (a49d063)
- graphql,hooks: Allow getting hooks from parent classes (59a0aeb)
0.19.2 (2020-09-03)
0.19.1 (2020-09-02)
- deps: update dependency graphql-tools to v6.2.0 (1183fa3)
- typeorm,#493: Fix uni-directional relation SQL (7887b8c)
0.19.0 (2020-09-01)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.62 (dc773f4)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.62 (ad5c2d2)
- deps: update dependency apollo-server-express to v2.17.0 (53398fe)
- deps: update dependency graphql-tools to v6.1.0 (2394310)
- deps: update dependency pg to v8.3.2 (1a03710)
- deps: update dependency pg to v8.3.3 (f471395)
- example,auth: Fix auth example (b26e1c6)
- auth: Initial Investigation (8d40636)
- core: Update QueryService to allow additional filtering (474369b)
- graphql,auth: Add authorization to resolvers and relations (9d76787)
- sequelize: Add additional filter options to QueryService (29fdfa7)
- typeorm: Add additional filter options to QueryService (64241dc)
0.18.1 (2020-08-14)
- core: Fix potential stack overflow with filter comparison (f498802)
- deps: update dependency graphql-query-complexity to v0.7.0 (d47bba1)
- deps: update dependency graphql-tools to v6.0.17 (b0d1648)
- deps: update dependency graphql-tools to v6.0.18 (9678548)
- tests: Make subTask connections tests order consistently (ab8bab2)
- core: refactor null compares and improve tests (3582ed2)
- refactored filter builder to support nested object filters (1ee8dbf)
0.18.0 (2020-08-11)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.61 (c2f03b8)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.61 (e052793)
- deps: update dependency graphql-tools to v6.0.16 (df3784d)
- e2e: Making tests deterministic (175cc2e)
- tests: Fix tests to be deterministic (5dd6dac)
- type: Pin dev dependencies (442db4c)
- workflow: Fix github actions matrix reference (a4d9447)
- typeorm: Switch to use unioned queries for relations (327c676)
0.17.10 (2020-08-01)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.60 (8982a12)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.60 (3663b9b)
- deps: update dependency rxjs to v6.6.2 (7062be9)
0.17.9 (2020-07-29)
- graphql: Allow specifying fields that are required when querying (a425ba7)
0.17.8 (2020-07-28)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.59 (ffe2ae9)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.59 (7a80894)
- deps: update dependency apollo-server-express to v2.16.1 (4989294)
- graphql: Allow specifying allowed comparisons on filterable fields (ced2792)
0.17.7 (2020-07-27)
0.17.6 (2020-07-24)
- graphql: Include inherited references and relations (26dd6f9)
0.17.5 (2020-07-24)
- graphql,aggregations: Exclude __typename in aggregations (3897673)
0.17.4 (2020-07-23)
- deps: update dependency graphql-tools to v6.0.15 (a45ece7)
- graphql,hooks: Add before hooks to graphql mutations (3448955)
0.17.3 (2020-07-17)
- deps: update dependency apollo-server-express to v2.16.0 (0870afe)
- graphql: Fix filters to transform to expected type #317 (0d28b0b)
0.17.2 (2020-07-17)
0.17.1 (2020-07-17)
- deps: update dependency graphql-tools to v6.0.14 (acb7e48)
- complexity: Add complexity support for relations (aa85325)
0.17.0 (2020-07-16)
- deps: update dependency graphql-tools to v6.0.13 (802bb5b)
- aggregations: Add aggregation support to sequelize (c37b7ae)
- aggregations: Add aggregations interfaces (d67e733)
- aggregations: Add aggregations to graphql (af075d2)
- aggregations,relations: Add relation aggregation graphql enpoints (56bb7e0)
- aggregations,relations,core: Add relation aggregation to core (a489588)
- aggregations,sequelize: Add relation aggregation to sequelize (93e7c1b)
- aggregations,sequelize: Fix aggregation on many-to-many relations (db6ecb2)
- aggregations,typeorm: Add relation aggregation to typeorm (2bf35a9)
- aggretations: Add aggregations support to typeorm (7233c23)
0.16.2 (2020-07-09)
- deps: update dependency pg to v8.2.2 (cd7fbb5)
- deps: update dependency pg to v8.3.0 (25c8dcb)
- imports: Remove additional /src references (9528772)
0.16.1 (2020-07-07)
0.16.0 (2020-07-05)
- deps: update dependency apollo-server-express to v2.15.1 (29f2b72)
- deps: update dependency graphql-tools to v6.0.12 (3048277)
- deps: update dependency rxjs to v6.6.0 (cc356f9)
- deps: update dependency sequelize to v5.22.2 (c04d1fc)
- deps: update dependency sequelize to v5.22.3 (ac288e3)
- sequelize: Change query to not use sub queries (80c69d6)
- core: Add type support for nest objects in filter (cd9d0b5)
- graphql: Enable filtering on ORM relations (60229b8)
- sequelize: Add support for querying for nested relations (92a51c1)
- typeorm: Add support for filtering on relations (aa8788c)
0.15.1 (2020-06-27)
- deps: update dependency graphql-tools to v6.0.11 (14416c4)
- deps: update dependency sequelize to v5.22.1 (6ff765d)
0.15.0 (2020-06-23)
- graphql,connection: Add totalCount to connections (ed1e84a)
0.14.3 (2020-06-20)
- deps: update dependency @apollo/federation to v0.16.9 (28ac98c)
- graphql,subscriptions: Expose InjectPubSub decorator (867022e)
0.14.2 (2020-06-19)
- typeorm: Allow using string based typeorm relations (55c157d)
0.14.1 (2020-06-19)
- graphql: Allow custom scalars for comparisons (57cbe38)
0.14.0 (2020-06-18)
- deps: update dependency @apollo/federation to v0.16.8 (01d05c1)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.58 (1060e05)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.58 (236cd18)
- deps: update dependency apollo-server-express to v2.15.0 (355d22b)
- deps: update dependency graphql-tools to v6.0.10 (005ee15)
- graphql,paging: Add NONE paging strategy (216d926)
0.13.2 (2020-06-14)
- graphl,filters: Allow for enums when filtering (60dcc30)
0.13.1 (2020-06-12)
0.13.0 (2020-06-12)
- deps: update dependency @apollo/federation to v0.16.6 (e51bb37)
- deps: update dependency apollo-server-express to v2.14.4 (ae31896)
- deps: update dependency graphql to v15.1.0 (e6362fe)
- deps: update dependency graphql-tools to v6.0.9 (4d7ccc9)
- graphql: Add limit offset paging without connections (5fc3e90)
0.12.0 (2020-06-07)
- deps: update dependency @apollo/federation to v0.16.4 (e000230)
- deps: update dependency apollo-server-express to v2.14.2 [security] (36c9649)
- deps: update dependency graphql-tools to v6.0.4 (aaa6233)
- deps: update dependency graphql-tools to v6.0.5 (fe181ae)
- deps: update dependency graphql-tools to v6.0.8 (27cb278)
- graphql: Add graphql subscriptions (5dc987f)
0.11.8 (2020-05-30)
Note: Version bump only for package nestjs-query
0.11.7 (2020-05-29)
- deps: update dependency @apollo/federation to v0.16.1 (1fd84e1)
- deps: update dependency @apollo/federation to v0.16.2 (ad047b3)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.56 (811d26d)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.56 (b7fd2af)
- deps: update dependency apollo-server-express to v2.14.0 (8ca9ee5)
- deps: update dependency apollo-server-express to v2.14.1 (4776e70)
- deps: update dependency graphql-tools to v6.0.3 (15429a5)
0.11.6 (2020-05-26)
- deps: update dependency graphql-tools to v6 (b1aeba1)
0.11.5 (2020-05-21)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.55 (8926e12)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.55 (1ed906f)
0.11.4 (2020-05-19)
Note: Version bump only for package nestjs-query
0.11.3 (2020-05-16)
- deps: update dependency pg to v8.2.1 (4603b85)
0.11.2 (2020-05-14)
- Fix lint issues (c3407c0)
- deps: update dependency @apollo/federation to v0.16.0 (5a5acd6)
- deps: update dependency apollo-server-express to v2.13.1 (49d214f)
- deps: update dependency pg to v8.1.0 (42c7d01)
- deps: update dependency pg to v8.2.0 (6e20417)
- graphql,core: Add support for custom services and assemblers (85e8658)
0.11.1 (2020-05-11)
- graphql: Add support for auto-generated federations (238f641)
0.11.0 (2020-05-09)
- deps: update dependency @apollo/federation to v0.15.0 (b534056)
- deps: update dependency apollo-server-express to v2.13.0 (7525af5)
0.10.2 (2020-05-04)
- sequelize: Update sequelize package deps to match hoisted (c7f5190)
0.10.1 (2020-05-02)
- graphql: Fix paging to properly check next/previous page (13c7bd9)
0.10.0 (2020-04-29)
- deps: update dependency @docusaurus/core to v2.0.0-alpha.54 (d6b7e6c)
- deps: update dependency @docusaurus/preset-classic to v2.0.0-alpha.54 (fae7683)
0.9.0 (2020-04-26)
- docs: remove unused imports in example page (a67ac24)
- typeorm: Add support for soft deletes (2ab42fa)
0.8.9 (2020-04-24)
Note: Version bump only for package nestjs-query
0.8.8 (2020-04-23)
Note: Version bump only for package nestjs-query
0.8.7 (2020-04-23)
- deps: update dependency pg to v8.0.3 (6a726e9)
- chore(renovate): Renovate to include examples
- chore(renovate): Renovate set ignorePaths to empty
- fix(deps): pin dependencies
- chore(deps): Update package-lock.json
- chore(deps): Update postgres backing app to 11.7
- docs(): Update Federation Docs
- chore(lerna): add hoist to lerna.json
- chore(deps): update dependency @nestjs/graphql to v7.3.4
- chore(deps): update dependency @types/node to v13.13.2
- chore(renovate): Update to automerge devDeps
- chore(deps): update dependency coveralls to v3.0.13
- chore(deps): update dependency eslint-config-prettier to v6.11.0
- feat(graphql): basic federation support.
- docs(graphql): federation docs.
- docs(typeorm): Call out foreign keys in entity and DTO #84
- docs(typeorm): Relations on an entity/dto #85
- chore(): upgrade dependencies.
- [FIXED] Add support for extending abstract object types #82
- [TESTS] Updated graphql types tests to check schema rather than spies.
- [FIXED] Mysql error "LIMIT in subquery" #77
- Changed
nestjs-query/query-typeorm
to not use subqueries to fetch relations.
- Changed
- [FIXED] Defining additional UpdateDtos breaks Schema. #72
- [FIXED] Tables with composite primary keys are not quoted properly.
- [DOCS] Added docs for working with multiple connections #73 - @johannesschobel
- Fix code formatting
- Update root package.json with common dependencies
- [DOCS] Update docs to include a complete example of custom methods #64
- [FIXED] Issue where creating or updating allows specifying primary keys #65
- [CHORE] Updated to
@nestjs/graphql
v7.1.3
- Removed
PartialType
andPartialInputType
in favor of@nestjs/graphql
implementation.
- [FIXED] Issue where update input DTO was not automatically created
- Updated to
@nestjs/graphql
v7.x
.- This was a passive change for the library usage however you should still follow the migration guide found here
- [FIXED] Get Underlying Entity Object #41
- Changed
TypeOrmQueryService
to operate on theEntity
- Added new
AssemblerQueryService
to translate between theDTO
andEntity
- Changed
- [ADDED] New
InjectTypeOrmQueryService
decorator to auto-create a TypeOrm query service.
- [DOCS] Added clarification around individual resolvers and relations with examples #42
- [ADDED] Exposed
Relatable
mixin from@nestjs-query/graphql
#42
- Added
decorators
option to resolver options to allow providing custom decorators to endpoints #36
- Updated all mutations to take a single
input
argument with custom fields.createOne(input: DTO)
->createOne(input: { [dtoName]: DTO })
createMany(input: DTO[])
->createOne(input: { [pluralDTOName]: DTO[] })
updateOne(id: ID, input: UpdateDTO)
->createOne(input: { id: ID, update: UpdateDTO })
updateMany(filter: Filter<DTO>, input: UpdateDTO)
->createOne(input: { filter: Filter<DTO>, update: UpdateDTO })
deleteOne(input: ID)
->deleteOne(input: {id: ID})
deleteMany(input: Filter<DTO>)
->createOne(input: { filter: Filter<DTO> })
- Updated docs to reflect changes.
- [FIXED] Validate Input for Create & Update #19
- [FIXED] Can't remove on Many-To-Many relations #31
- Update typescript to 3.8.
- Update dependency versions.
- Switched to github actions
- Hardened TypeORM querying
- Added filter for entity ids on relations to prevent querying for too many rows.
- Qualify all filter and sorting columns, to prevent column name collisions.
- Added dataloader support!
- Fixed issue with loading of many-to-many relations #22
- Fixed case where
@FilterableField
decorator was not passing arguments correctly to@Field
decorator #20
- Add
Assemblers
to convert DTOs and Entities that are a different shape. See https://doug-martin.github.io/nestjs-query/docs/concepts/advanced/assemblers
- Add
relations
to resolvers. See https://doug-martin.github.io/nestjs-query/docs/graphql/relations
- Dont allow empty filters with
updateMany
ordeleteMany
operations.
- Add ability to specify query defaults.
defaultResultSize
- the default number of results to return from a querymaxResultsSize
- the maximum number of results to return from a querydefaultSort
- The default sort to apply to queriesdefaultFilter
- The default filter to apply to queries
- Add files field to
@nestjs-query/core
package.json
- Fix package READMEs
- Add security scanning on sub modules.
- Add MIT license
- Initial Release