{"action":"created","issue":{"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/222","labels_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/222/comments","events_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/222/events","html_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/222","id":118720349,"number":222,"title":"\"Lazy\" property in Service annotation: Define service as lazy","user":{"login":"alber999","id":9073936,"avatar_url":"https://avatars.githubusercontent.com/u/9073936?v=3","gravatar_id":"","url":"https://api.github.com/users/alber999","html_url":"https://github.com/alber999","followers_url":"https://api.github.com/users/alber999/followers","following_url":"https://api.github.com/users/alber999/following{/other_user}","gists_url":"https://api.github.com/users/alber999/gists{/gist_id}","starred_url":"https://api.github.com/users/alber999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alber999/subscriptions","organizations_url":"https://api.github.com/users/alber999/orgs","repos_url":"https://api.github.com/users/alber999/repos","events_url":"https://api.github.com/users/alber999/events{/privacy}","received_events_url":"https://api.github.com/users/alber999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T22:47:52Z","updated_at":"2015-11-24T23:01:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/222","html_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/222","diff_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/222.diff","patch_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/222.patch"},"body":"Wouldn't it be nice to define lazy services in Service annotation?\r\n\r\n```\r\n/**\r\n * @Service(\"my_service\", lazy=true)\r\n */\r\nclass MyService { ... }\r\n```\r\n\r\nJust by adding \"ocramius/proxy-manager\" as dependency and handling Service \"lazy\" property you can make it. I hope you find this pull request useful\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/comments/159433253","html_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/222#issuecomment-159433253","issue_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/222","id":159433253,"user":{"login":"alber999","id":9073936,"avatar_url":"https://avatars.githubusercontent.com/u/9073936?v=3","gravatar_id":"","url":"https://api.github.com/users/alber999","html_url":"https://github.com/alber999","followers_url":"https://api.github.com/users/alber999/followers","following_url":"https://api.github.com/users/alber999/following{/other_user}","gists_url":"https://api.github.com/users/alber999/gists{/gist_id}","starred_url":"https://api.github.com/users/alber999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alber999/subscriptions","organizations_url":"https://api.github.com/users/alber999/orgs","repos_url":"https://api.github.com/users/alber999/repos","events_url":"https://api.github.com/users/alber999/events{/privacy}","received_events_url":"https://api.github.com/users/alber999/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T23:01:32Z","updated_at":"2015-11-24T23:01:32Z","body":"Well, I see CI tests failing, but not because of my changes :("}}