{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2517","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2517/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2517/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2517/events","html_url":"https://github.com/hapijs/hapi/issues/2517","id":71450574,"number":2517,"title":"Means to force plugin registration to complete prior to server.inject","user":{"login":"garthk","id":15906,"avatar_url":"https://avatars.githubusercontent.com/u/15906?v=3","gravatar_id":"","url":"https://api.github.com/users/garthk","html_url":"https://github.com/garthk","followers_url":"https://api.github.com/users/garthk/followers","following_url":"https://api.github.com/users/garthk/following{/other_user}","gists_url":"https://api.github.com/users/garthk/gists{/gist_id}","starred_url":"https://api.github.com/users/garthk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garthk/subscriptions","organizations_url":"https://api.github.com/users/garthk/orgs","repos_url":"https://api.github.com/users/garthk/repos","events_url":"https://api.github.com/users/garthk/events{/privacy}","received_events_url":"https://api.github.com/users/garthk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T01:49:21Z","updated_at":"2015-05-20T23:56:36Z","closed_at":null,"body":"As far as I can tell, we need to `start` the server to ensure all plugins' `register` methods and their `server.dependency` calls' `after` arguments have called `next`. Also noticed by @hulbert, who reminded me of the problem."},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/104074668","html_url":"https://github.com/hapijs/hapi/issues/2517#issuecomment-104074668","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2517","id":104074668,"user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:56:36Z","updated_at":"2015-05-20T23:56:36Z","body":"Not sure what you are asking for. I can expose the dependency validation logic and allow you to run it directly, or I can move some of the `server.start()` logic out into an `init()` method that does some of the work but does not start the server. The hard part is figuring out which actions to take in `init()` and which to defer to `start()` (e.g. start the cache? start the heavy measurements?)."}}