nestjs-paginate icon indicating copy to clipboard operation
nestjs-paginate copied to clipboard

Which versions work with which peer dependencies?

Open soryy708 opened this issue 2 years ago • 0 comments

We have a project with the working combination:

[email protected]
[email protected]
@nestjs/[email protected]
@nestjs/[email protected]

We're trying to update TypeORM, but that requires updating nestjs-paginate. We try with:

[email protected]
[email protected]
@nestjs/[email protected]
@nestjs/[email protected]

But that's broken, we get:

EntityColumnNotFound: No entity column "whereFactory" was found.
  at EntityColumnNotFound.TypeORMError [as constructor] (src/error/TypeORMError.ts:7:9)
  at new EntityColumnNotFound (src/error/EntityColumnNotFound.ts:5:9)
  at SelectQueryBuilder.Object.<anonymous>.QueryBuilder.findColumnsForPropertyPath (src/query-builder/QueryBuilder.ts:978:19)
  at SelectQueryBuilder.<anonymous> (src/query-builder/QueryBuilder.ts:1071:68)
  at step (node_modules/typeorm/node_modules/tslib/tslib.js:143:27)
  at Object.next (node_modules/typeorm/node_modules/tslib/tslib.js:124:57)
  at SelectQueryBuilder.Object.<anonymous>.QueryBuilder.getWhereCondition (src/query-builder/QueryBuilder.ts:1210:80)
  at SelectQueryBuilder.Object.<anonymous>.SelectQueryBuilder.andWhere (src/query-builder/SelectQueryBuilder.ts:733:71)
  at paginate (../node_modules/nestjs-paginate/src/paginate.ts:282:22)

What version of nestjs-paginate and its peer dependencies are known to work with typeorm 0.2.44 or 0.2.45?

soryy708 avatar May 29 '23 14:05 soryy708