{"action":"created","issue":{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/72","repository_url":"https://api.github.com/repos/vsivsi/meteor-file-collection","labels_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/72/comments","events_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/72/events","html_url":"https://github.com/vsivsi/meteor-file-collection/issues/72","id":120603920,"number":72,"title":"FileCollection _id's","user":{"login":"edemaine","id":2218736,"avatar_url":"https://avatars.githubusercontent.com/u/2218736?v=3","gravatar_id":"","url":"https://api.github.com/users/edemaine","html_url":"https://github.com/edemaine","followers_url":"https://api.github.com/users/edemaine/followers","following_url":"https://api.github.com/users/edemaine/following{/other_user}","gists_url":"https://api.github.com/users/edemaine/gists{/gist_id}","starred_url":"https://api.github.com/users/edemaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edemaine/subscriptions","organizations_url":"https://api.github.com/users/edemaine/orgs","repos_url":"https://api.github.com/users/edemaine/repos","events_url":"https://api.github.com/users/edemaine/events{/privacy}","received_events_url":"https://api.github.com/users/edemaine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-06T03:02:17Z","updated_at":"2016-04-04T22:57:20Z","closed_at":null,"body":"Is there a reason that an `_id` returned by e.g. `FileCollection.findOne()` is an `ObjectID` wrapping a `String`, instead of a `String` like I've seen in every other Meteor collection?  Is this a consequence of GridFS?\r\n\r\nWhatever the reason, I find it odd that I can't use `FileCollection.findOne(\"1234abcd...\")` to get the file with the specified string `_id`.  Instead I have to do `FileCollection.findOne(new Meteor.Collection.ObjectID(\"1234abcd...\"))`.  Would it make sense to check for a `String` argument in `FileCollection.findOne` so that it behaves more like `Meteor.Collection.findOne`?"},"comment":{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/comments/205533363","html_url":"https://github.com/vsivsi/meteor-file-collection/issues/72#issuecomment-205533363","issue_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/72","id":205533363,"user":{"login":"keyscores","id":1364012,"avatar_url":"https://avatars.githubusercontent.com/u/1364012?v=3","gravatar_id":"","url":"https://api.github.com/users/keyscores","html_url":"https://github.com/keyscores","followers_url":"https://api.github.com/users/keyscores/followers","following_url":"https://api.github.com/users/keyscores/following{/other_user}","gists_url":"https://api.github.com/users/keyscores/gists{/gist_id}","starred_url":"https://api.github.com/users/keyscores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyscores/subscriptions","organizations_url":"https://api.github.com/users/keyscores/orgs","repos_url":"https://api.github.com/users/keyscores/repos","events_url":"https://api.github.com/users/keyscores/events{/privacy}","received_events_url":"https://api.github.com/users/keyscores/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T22:57:20Z","updated_at":"2016-04-04T22:57:20Z","body":"In that case I'm not sure where my error is coming from. I'll dig deeper.\n\nWhen I have tried to omit the _id on the myData.insert() I get an upload\nerror in the console. Is that by design or an error in my code?\n\nThanks again\n\nLucas Geiger\n"}}