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:
[x] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [x] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo
cordova
mongodb
mssql
mysql
mariadb
oracle
postgres
cockroachdb
sqlite
sqljs
react-native
expo
TypeORM version:
[] latest [ ] @next [ x] 0.2.25
latest
@next
0.2.25
Steps to reproduce or a small repository showing the problem:
Passing undefined value as id will not throw an error, it returns the current table's first entry. repository.findOneOrFail(id)
repository.findOneOrFail(id)
Expectation: It should throws an exception, and should not return db value.
The text was updated successfully, but these errors were encountered:
This is a breaking change which is ideally gonna happen in the next minor release
Sorry, something went wrong.
Duplicate of #2990
Seems this problem still exists. Can anyone confirm?
any updates because it still exist
No branches or pull requests
Issue type:
[x] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[x]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[]
latest
[ ]
@next
[ x]
0.2.25
Steps to reproduce or a small repository showing the problem:
Passing undefined value as id will not throw an error, it returns the current table's first entry.
repository.findOneOrFail(id)
Expectation:
It should throws an exception, and should not return db value.
The text was updated successfully, but these errors were encountered: