inProgress-team / inProgress-team/react-native-meteor

Collection.findOne(null) can return a result

Open
#148 7 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.