inProgress-team / inProgress-team/react-native-meteor
Collection.findOne(null) can return a result
Open
- Dominant language
- JavaScript
- Stars
- 688
- Forks
- 200
- PR merge metrics
- No merged PRs in 30d
Description
`Collection.findOne(null)` can return a result which is unexpected and not how regular meteor works.
For example, if we have `id = undefined` and we do:
`Posts.findOne(id)`
if there are any Posts documents on the client, a document will be returned as the result of the query, when really the result should be that no document is found.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.