{"action":"opened","issue":{"url":"https://api.github.com/repos/mongodb/stitch-js-sdk/issues/158","repository_url":"https://api.github.com/repos/mongodb/stitch-js-sdk","labels_url":"https://api.github.com/repos/mongodb/stitch-js-sdk/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/stitch-js-sdk/issues/158/comments","events_url":"https://api.github.com/repos/mongodb/stitch-js-sdk/issues/158/events","html_url":"https://github.com/mongodb/stitch-js-sdk/issues/158","id":340211641,"node_id":"MDU6SXNzdWUzNDAyMTE2NDE=","number":158,"title":"Stitch Client .find() Projections Not Working For Collections","user":{"login":"saniyusuf","id":5343022,"node_id":"MDQ6VXNlcjUzNDMwMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/5343022?v=4","gravatar_id":"","url":"https://api.github.com/users/saniyusuf","html_url":"https://github.com/saniyusuf","followers_url":"https://api.github.com/users/saniyusuf/followers","following_url":"https://api.github.com/users/saniyusuf/following{/other_user}","gists_url":"https://api.github.com/users/saniyusuf/gists{/gist_id}","starred_url":"https://api.github.com/users/saniyusuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saniyusuf/subscriptions","organizations_url":"https://api.github.com/users/saniyusuf/orgs","repos_url":"https://api.github.com/users/saniyusuf/repos","events_url":"https://api.github.com/users/saniyusuf/events{/privacy}","received_events_url":"https://api.github.com/users/saniyusuf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T12:01:21Z","updated_at":"2018-07-11T12:01:21Z","closed_at":null,"author_association":"NONE","body":"I am trying to use the projection feature of the .find() function as follows for a collection on mine via Stitch. \r\n\r\n.find(\r\n        { owner_id : someID },\r\n        { \"email\": 1 }\r\n      )\r\n      .first();\r\n\r\n\r\nBasically, I want only the email field to be returned. However, no matter what I do the whole document comes back. Interestingly enough, the same is happening when I exclude a field by using 0 instead. The whole document just comes back. \r\n\r\nIs this an expected behaviour due to feature not quite there yet, or is this a bug?"}}
{"actor":{"display_login":"saniyusuf"}}