{"action":"created","issue":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/28","labels_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/28/comments","events_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/28/events","html_url":"https://github.com/dburles/mongo-collection-instances/issues/28","id":125639681,"number":28,"title":"Wierd Issue","user":{"login":"patrickml","id":7581369,"avatar_url":"https://avatars.githubusercontent.com/u/7581369?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickml","html_url":"https://github.com/patrickml","followers_url":"https://api.github.com/users/patrickml/followers","following_url":"https://api.github.com/users/patrickml/following{/other_user}","gists_url":"https://api.github.com/users/patrickml/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickml/subscriptions","organizations_url":"https://api.github.com/users/patrickml/orgs","repos_url":"https://api.github.com/users/patrickml/repos","events_url":"https://api.github.com/users/patrickml/events{/privacy}","received_events_url":"https://api.github.com/users/patrickml/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T16:07:46Z","updated_at":"2016-01-08T16:13:25Z","closed_at":"2016-01-08T16:13:25Z","body":"In production mode this package isnt picking up all of my collections. Most of my collection live in a package lib, because we use the same collections for multiple apps. Any collections imported from a package are not available via.get() or getAll(). If you just run your app locally with --production you can replicate this issue. "},"comment":{"url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/comments/170043637","html_url":"https://github.com/dburles/mongo-collection-instances/issues/28#issuecomment-170043637","issue_url":"https://api.github.com/repos/dburles/mongo-collection-instances/issues/28","id":170043637,"user":{"login":"patrickml","id":7581369,"avatar_url":"https://avatars.githubusercontent.com/u/7581369?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickml","html_url":"https://github.com/patrickml","followers_url":"https://api.github.com/users/patrickml/followers","following_url":"https://api.github.com/users/patrickml/following{/other_user}","gists_url":"https://api.github.com/users/patrickml/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickml/subscriptions","organizations_url":"https://api.github.com/users/patrickml/orgs","repos_url":"https://api.github.com/users/patrickml/repos","events_url":"https://api.github.com/users/patrickml/events{/privacy}","received_events_url":"https://api.github.com/users/patrickml/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T16:13:25Z","updated_at":"2016-01-08T16:13:25Z","body":"In order to fix the issue I had to add the package as in import on my package. Its odd that this happens only in production, but maybe the docs should be updated to notify users."}}