{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zend-expressive/issues/639","repository_url":"https://api.github.com/repos/zendframework/zend-expressive","labels_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/639/comments","events_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/639/events","html_url":"https://github.com/zendframework/zend-expressive/pull/639","id":364987515,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MDQ0MjMx","number":639,"title":"Add support for lazy loading request handlers","user":{"login":"azjezz","id":29315886,"node_id":"MDQ6VXNlcjI5MzE1ODg2","avatar_url":"https://avatars0.githubusercontent.com/u/29315886?v=4","gravatar_id":"","url":"https://api.github.com/users/azjezz","html_url":"https://github.com/azjezz","followers_url":"https://api.github.com/users/azjezz/followers","following_url":"https://api.github.com/users/azjezz/following{/other_user}","gists_url":"https://api.github.com/users/azjezz/gists{/gist_id}","starred_url":"https://api.github.com/users/azjezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azjezz/subscriptions","organizations_url":"https://api.github.com/users/azjezz/orgs","repos_url":"https://api.github.com/users/azjezz/repos","events_url":"https://api.github.com/users/azjezz/events{/privacy}","received_events_url":"https://api.github.com/users/azjezz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T18:03:48Z","updated_at":"2018-09-29T07:28:33Z","closed_at":"2018-09-28T18:21:27Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/zendframework/zend-expressive/pulls/639","html_url":"https://github.com/zendframework/zend-expressive/pull/639","diff_url":"https://github.com/zendframework/zend-expressive/pull/639.diff","patch_url":"https://github.com/zendframework/zend-expressive/pull/639.patch"},"body":"Provide a narrative description of what you are trying to accomplish:\r\n\r\n- [x] Are you creating a new feature?\r\n  - [x] Why is the new feature needed? What purpose does it serve?\r\n\r\n  Ability to lazy load request handlers \r\n  ```php\r\n  $app->post('/u/:username', $factory->lazy(App\\Handler\\ProfileViewHandler::class), 'user.profile');\r\n\r\n  ```\r\n  - [x] How will users use the new feature?\r\n  - [x] Base your feature on the `develop` branch, and submit against that branch.\r\n  - [x] Add only one feature per pull request; split multiple features over multiple pull requests\r\n  - [ ] Add tests for the new feature.\r\n  - [ ] Add documentation for the new feature.\r\n  - [ ] Add a `CHANGELOG.md` entry for the new feature."},"comment":{"url":"https://api.github.com/repos/zendframework/zend-expressive/issues/comments/425623730","html_url":"https://github.com/zendframework/zend-expressive/pull/639#issuecomment-425623730","issue_url":"https://api.github.com/repos/zendframework/zend-expressive/issues/639","id":425623730,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTYyMzczMA==","user":{"login":"xtreamwayz","id":9497586,"node_id":"MDQ6VXNlcjk0OTc1ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9497586?v=4","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T07:28:33Z","updated_at":"2018-09-29T07:28:33Z","author_association":"MEMBER","body":"@azjezz I'm not sure why you started this PR. FYI, request handlers are only instantiated when a specific route is called. They are not created if the route isn't requested.\r\n```php\r\n$app->post('/u/:username', App\\Handler\\ProfileViewHandler::class, 'user.profile');\r\n```"}}
{"actor":{"display_login":"xtreamwayz"}}