{"action":"created","issue":{"url":"https://api.github.com/repos/igniphp/framework/issues/36","repository_url":"https://api.github.com/repos/igniphp/framework","labels_url":"https://api.github.com/repos/igniphp/framework/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/igniphp/framework/issues/36/comments","events_url":"https://api.github.com/repos/igniphp/framework/issues/36/events","html_url":"https://github.com/igniphp/framework/issues/36","id":395769016,"node_id":"MDU6SXNzdWUzOTU3NjkwMTY=","number":36,"title":"How to call registered Module for each request?","user":{"login":"roquie","id":3214290,"node_id":"MDQ6VXNlcjMyMTQyOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3214290?v=4","gravatar_id":"","url":"https://api.github.com/users/roquie","html_url":"https://github.com/roquie","followers_url":"https://api.github.com/users/roquie/followers","following_url":"https://api.github.com/users/roquie/following{/other_user}","gists_url":"https://api.github.com/users/roquie/gists{/gist_id}","starred_url":"https://api.github.com/users/roquie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roquie/subscriptions","organizations_url":"https://api.github.com/users/roquie/orgs","repos_url":"https://api.github.com/users/roquie/repos","events_url":"https://api.github.com/users/roquie/events{/privacy}","received_events_url":"https://api.github.com/users/roquie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-04T00:09:06Z","updated_at":"2019-01-04T00:13:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I would like to use database connection per-request or use connection pool for choosing available before register object in Container. \r\n\r\nAny ideas? `OnRequestListener` does not work for the application.\r\n\r\nP.S. My server-app throws a lot of many database errors when parallel requests send from JS (like \"General error 7\" and \"PDO statement not found\"). And I'm trying to elegant resolve this problem."},"comment":{"url":"https://api.github.com/repos/igniphp/framework/issues/comments/451319104","html_url":"https://github.com/igniphp/framework/issues/36#issuecomment-451319104","issue_url":"https://api.github.com/repos/igniphp/framework/issues/36","id":451319104,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTMxOTEwNA==","user":{"login":"roquie","id":3214290,"node_id":"MDQ6VXNlcjMyMTQyOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3214290?v=4","gravatar_id":"","url":"https://api.github.com/users/roquie","html_url":"https://github.com/roquie","followers_url":"https://api.github.com/users/roquie/followers","following_url":"https://api.github.com/users/roquie/following{/other_user}","gists_url":"https://api.github.com/users/roquie/gists{/gist_id}","starred_url":"https://api.github.com/users/roquie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roquie/subscriptions","organizations_url":"https://api.github.com/users/roquie/orgs","repos_url":"https://api.github.com/users/roquie/repos","events_url":"https://api.github.com/users/roquie/events{/privacy}","received_events_url":"https://api.github.com/users/roquie/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T00:13:49Z","updated_at":"2019-01-04T00:13:49Z","author_association":"CONTRIBUTOR","body":"Comes to mind the only solution with a global static object, who is will be called from middleware before `$next()` and after (close or return back to connection pull)."}}
{"actor":{"display_login":"roquie"}}