{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/31","labels_url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/31/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/31/events","html_url":"https://github.com/feathersjs/feathers-mongoose/issues/31","id":123192586,"number":31,"title":"Documentation on troubleshooting","user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T00:35:31Z","updated_at":"2015-12-21T10:12:25Z","closed_at":null,"body":"So, I just had a really dumb moment.  I couldn't figure out whey a simple query like `find({accountNumber: 12345})` wasn't returning any data when it was clearly in the database correctly.  I finally figured out that I had failed to add the `accountNumber` field to the Mongoose schema (duh), which was preventing it from making it into the query.  It might be nice for newcomers or for those having short- or long-term stupid moments to have a blurb on this in the docs.  Maybe a troubleshooting section where we could add these little potential gotchas whenever encountered.  I think this would help newcomers to not blame feathers or the adapter and jump ship."},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/comments/166259553","html_url":"https://github.com/feathersjs/feathers-mongoose/issues/31#issuecomment-166259553","issue_url":"https://api.github.com/repos/feathersjs/feathers-mongoose/issues/31","id":166259553,"user":{"login":"daffl","id":338316,"avatar_url":"https://avatars.githubusercontent.com/u/338316?v=3","gravatar_id":"","url":"https://api.github.com/users/daffl","html_url":"https://github.com/daffl","followers_url":"https://api.github.com/users/daffl/followers","following_url":"https://api.github.com/users/daffl/following{/other_user}","gists_url":"https://api.github.com/users/daffl/gists{/gist_id}","starred_url":"https://api.github.com/users/daffl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daffl/subscriptions","organizations_url":"https://api.github.com/users/daffl/orgs","repos_url":"https://api.github.com/users/daffl/repos","events_url":"https://api.github.com/users/daffl/events{/privacy}","received_events_url":"https://api.github.com/users/daffl/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T10:12:25Z","updated_at":"2015-12-21T10:12:25Z","body":"That's a good idea. Could this also be caught as an error (if there is a field in the query that's not in the schema)?"}}