{"action":"opened","issue":{"url":"https://api.github.com/repos/jaredhanson/electrolyte/issues/17","labels_url":"https://api.github.com/repos/jaredhanson/electrolyte/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jaredhanson/electrolyte/issues/17/comments","events_url":"https://api.github.com/repos/jaredhanson/electrolyte/issues/17/events","html_url":"https://github.com/jaredhanson/electrolyte/issues/17","id":65060281,"number":17,"title":"@require'd component not passing into exported function?","user":{"login":"l0oky","id":5659846,"avatar_url":"https://avatars.githubusercontent.com/u/5659846?v=3","gravatar_id":"","url":"https://api.github.com/users/l0oky","html_url":"https://github.com/l0oky","followers_url":"https://api.github.com/users/l0oky/followers","following_url":"https://api.github.com/users/l0oky/following{/other_user}","gists_url":"https://api.github.com/users/l0oky/gists{/gist_id}","starred_url":"https://api.github.com/users/l0oky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l0oky/subscriptions","organizations_url":"https://api.github.com/users/l0oky/orgs","repos_url":"https://api.github.com/users/l0oky/repos","events_url":"https://api.github.com/users/l0oky/events{/privacy}","received_events_url":"https://api.github.com/users/l0oky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-29T13:16:27Z","updated_at":"2015-03-29T13:16:27Z","closed_at":null,"body":"OK, this is maybe only  a newbies mistake. The thing is I can't see my component 'models/procedures' in my another component 'controllers/uploadHandler' [here's an example.](https://gist.github.com/l0oky/c07bbf08cde4bd866082)\r\n\r\nWhat did I do wrong?\r\n\r\nElectrolyte is awesome by the looks of it. Very simple concept and powerful, but lacks proper documentation ( I guess ). Anyhow I started learning it by reading the [readme](https://github.com/jaredhanson/electrolyte/blob/master/README.md) and following [jsummers electrolyte example.](https://github.com/jsumners/njs-di-example) ( I thank him very much, learn a lot from that. )\r\n\r\nBasically I wanted to seperate database procedures and controllers. 'config/database' returns a connection of a postgres database and 'models/procedures' uses that connection. Other component like that 'controllers/uploadHandler' use functions that are in 'models/procedures', and that's my idea on how to communicate with a database using clean code thanks to electrolyte. :+1: \r\n\r\nThank you :)"}}