We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue type:
[ ] question [x] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ] cordova [x] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo
cordova
mongodb
mssql
mysql
mariadb
oracle
postgres
cockroachdb
sqlite
sqljs
react-native
expo
TypeORM version:
[x] latest [ ] @next [ ] 0.x.x (or put your version here)
latest
@next
0.x.x
Steps to reproduce or a small repository showing the problem:
error log => error TS2321: Excessive stack depth comparing types 'FindConditions' and 'FindConditions'. error TS2321: Excessive stack depth comparing types 'MongoRepository' and 'Repository'. node_modules/typeorm/repository/MongoRepository.d.ts(45,5): error TS2321: Excessive stack depth comparing types '(optionsOrConditions?: string | number | Date | ObjectID | FindOneOptions | Partial | undefined, maybeOptions?: FindOneOptions | undefined) => Promise<...>' and '{ (id?: string | number | Date | ObjectID | undefined, options?: FindOneOptions | undefined): Promise<Entity | undefined>; (options?: FindOneOptions | undefined): Promise<...>; (conditions?: FindConditions<...> | undefined, options?: FindOneOptions<...> | undefined): Promise<...>; }'.
maybe occurred by this => https://www.npmjs.com/package/mongodb/v/3.3.2
The text was updated successfully, but these errors were encountered:
Having the same error, did you find a solution?
Sorry, something went wrong.
@Ionaru @beomyongchoi If you are on a greater version of typescript than 3.5.3, downgrade to 3.5.3. This fixed this problem for me.
Related issues:
#4662
#4427
#4470
@Ionaru i also downgrade to 3.5.3, and fixed it :)
No branches or pull requests
Issue type:
[ ] question
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[x]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Steps to reproduce or a small repository showing the problem:
error log =>
error TS2321: Excessive stack depth comparing types 'FindConditions' and 'FindConditions'.
error TS2321: Excessive stack depth comparing types 'MongoRepository' and 'Repository'.
node_modules/typeorm/repository/MongoRepository.d.ts(45,5): error TS2321: Excessive stack depth comparing types '(optionsOrConditions?: string | number | Date | ObjectID | FindOneOptions | Partial | undefined, maybeOptions?: FindOneOptions | undefined) => Promise<...>' and '{ (id?: string | number | Date | ObjectID | undefined, options?: FindOneOptions | undefined): Promise<Entity | undefined>; (options?: FindOneOptions | undefined): Promise<...>; (conditions?: FindConditions<...> | undefined, options?: FindOneOptions<...> | undefined): Promise<...>; }'.
maybe occurred by this =>
https://www.npmjs.com/package/mongodb/v/3.3.2
The text was updated successfully, but these errors were encountered: