Open alexmantaut opened 4 years ago
Hey @alexmantaut ,
Did you find any way to solve this??
same problem 0.2.45
Is there a solution to this problem? typeorm version: 0.2.45 No problem using version 0.2.44
Is a thing on 0.2.44 for us.
EntityColumnNotFound: No entity column "whereFactory" was found.
at EntityColumnNotFound.TypeORMError [as constructor] (error/TypeORMError.ts:7:9)
at new EntityColumnNotFound (error/EntityColumnNotFound.ts:5:9)
at SelectQueryBuilder.Object.<anonymous>.QueryBuilder.findColumnsForPropertyPath (query-builder/QueryBuilder.ts:978:19)
at SelectQueryBuilder.<anonymous> (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 (query-builder/QueryBuilder.ts:1210:80)
at SelectQueryBuilder.Object.<anonymous>.SelectQueryBuilder.andWhere (query-builder/SelectQueryBuilder.ts:733:71)
Hi, Since upgrading typeorm to 0.2.25, controller requests starting failing. Requests seem to work ok with typeorm 0.2.24 and lower.
Stack trace:
The request that causes this is just a getOne by id with no joins or filters.
Googling I found this issue. It appears that typeorm has changed the way non existing columns on a where are handled...
Getting into the stack trace on the debugger, it seems that the nestjx/crud createBuilder() sends an empty where to the query builder...
Can you tell me if I the latest version of typeorm works for anyone else or if I am doing something wrong?
Thanks,