{"action":"created","issue":{"url":"https://api.github.com/repos/mtymek/blast-base-url/issues/13","repository_url":"https://api.github.com/repos/mtymek/blast-base-url","labels_url":"https://api.github.com/repos/mtymek/blast-base-url/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mtymek/blast-base-url/issues/13/comments","events_url":"https://api.github.com/repos/mtymek/blast-base-url/issues/13/events","html_url":"https://github.com/mtymek/blast-base-url/issues/13","id":173394988,"number":13,"title":"Unable to resolve service \"Blast\\BaseUrl\\BaseUrlMiddleware\" to a Factory","user":{"login":"gbonnema","id":2283947,"avatar_url":"https://avatars.githubusercontent.com/u/2283947?v=3","gravatar_id":"","url":"https://api.github.com/users/gbonnema","html_url":"https://github.com/gbonnema","followers_url":"https://api.github.com/users/gbonnema/followers","following_url":"https://api.github.com/users/gbonnema/following{/other_user}","gists_url":"https://api.github.com/users/gbonnema/gists{/gist_id}","starred_url":"https://api.github.com/users/gbonnema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbonnema/subscriptions","organizations_url":"https://api.github.com/users/gbonnema/orgs","repos_url":"https://api.github.com/users/gbonnema/repos","events_url":"https://api.github.com/users/gbonnema/events{/privacy}","received_events_url":"https://api.github.com/users/gbonnema/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-26T08:11:46Z","updated_at":"2016-08-31T07:55:49Z","closed_at":null,"body":"Hi Mateusz,\r\n\r\nThank you for your pointers in my expressive issue. When updating my project from the cookbook, I ran into trouble. Aparantly I did something wrong in creating the pointer to the factory. I include the configuration file \"middleware-pipeline.global.php\". I am new to zend, so I could easily have misinterpreted the instructions. If you need more info, just let me know. Apart from the instructions in the cookbook, the project is the expressive-skeleton.\r\n\r\nCould you have a look?\r\n\r\n[middleware-pipeline.global.php.zip](https://github.com/mtymek/blast-base-url/files/438835/middleware-pipeline.global.php.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mtymek/blast-base-url/issues/comments/243687348","html_url":"https://github.com/mtymek/blast-base-url/issues/13#issuecomment-243687348","issue_url":"https://api.github.com/repos/mtymek/blast-base-url/issues/13","id":243687348,"user":{"login":"gbonnema","id":2283947,"avatar_url":"https://avatars.githubusercontent.com/u/2283947?v=3","gravatar_id":"","url":"https://api.github.com/users/gbonnema","html_url":"https://github.com/gbonnema","followers_url":"https://api.github.com/users/gbonnema/followers","following_url":"https://api.github.com/users/gbonnema/following{/other_user}","gists_url":"https://api.github.com/users/gbonnema/gists{/gist_id}","starred_url":"https://api.github.com/users/gbonnema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbonnema/subscriptions","organizations_url":"https://api.github.com/users/gbonnema/orgs","repos_url":"https://api.github.com/users/gbonnema/repos","events_url":"https://api.github.com/users/gbonnema/events{/privacy}","received_events_url":"https://api.github.com/users/gbonnema/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T07:55:49Z","updated_at":"2016-08-31T07:55:49Z","body":"Hi Mateusz,\r\n\r\n I use FastRoute for routing, Zend-servicemanager for container and Plates for templating. Further I included Whoops for error handling.\r\n\r\nPhp version is 5.6.21-2. The zend-servicemanager shows version only in changelog: version 3.1.1 dated 2016-07-15. \r\n\r\nThe error points to expressive not being able to find the blast service, so I would expect my configuration to be wrong. Whatever the problem, Shouldn't it be outside blast? \r\n\r\nFor completeness I include composer.json:\r\n\r\n~~~~~~~~~~~~~~\r\n{\r\n    \"name\": \"zendframework/zend-expressive-skeleton\",\r\n    \"description\": \"Zend expressive skelton. Begin developing PSR-7 middleware applications in seconds\",\r\n    \"type\": \"project\",\r\n    \"homepage\": \"https://github.com/zendframework/zend-expressive-skeleton\",\r\n    \"license\": \"BSD-3-Clause\",\r\n    \"authors\": [\r\n        {\r\n            \"name\": \"Geert Eltink\",\r\n            \"homepage\": \"https://xtreamwayz.com/\"\r\n        }\r\n    ],\r\n    \"extra\": {\r\n        \"branch-alias\": {\r\n            \"dev-master\": \"1.0-dev\",\r\n            \"dev-develop\": \"1.1-dev\"\r\n        }\r\n    },\r\n    \"require\": {\r\n        \"php\": \"^5.5 || ^7.0\",\r\n        \"roave/security-advisories\": \"dev-master\",\r\n        \"zendframework/zend-expressive\": \"^1.0\",\r\n        \"zendframework/zend-expressive-helpers\": \"^2.0\",\r\n        \"zendframework/zend-stdlib\": \"^2.7 || ^3.0\",\r\n        \"zendframework/zend-expressive-fastroute\": \"^1.0\",\r\n        \"zendframework/zend-servicemanager\": \"^2.7.3 || ^3.0\",\r\n        \"ocramius/proxy-manager\": \"^1.0 || ^2.0\",\r\n        \"zendframework/zend-expressive-platesrenderer\": \"^1.0\",\r\n        \"mtymek/blast-base-url\": \"^0.2.0\"\r\n    },\r\n    \"require-dev\": {\r\n        \"phpunit/phpunit\": \"^4.8\",\r\n        \"squizlabs/php_codesniffer\": \"^2.3\",\r\n        \"filp/whoops\": \"^1.1 || ^2.0\"\r\n    },\r\n    \"autoload\": {\r\n        \"psr-4\": {\r\n            \"App\\\\\": \"src/App/\"\r\n        }\r\n    },\r\n    \"autoload-dev\": {\r\n        \"psr-4\": {\r\n            \"AppTest\\\\\": \"test/AppTest/\"\r\n        }\r\n    },\r\n    \"scripts\": {\r\n        \"check\": [\r\n            \"@cs\",\r\n            \"@test\"\r\n        ],\r\n        \"cs\": \"phpcs\",\r\n        \"cs-fix\": \"phpcbf\",\r\n        \"serve\": \"php -S 0.0.0.0:8080 -t public/ public/index.php\",\r\n        \"test\": \"phpunit\"\r\n    }\r\n}\r\n~~~~~~~~~~~~~~"}}
{"actor":{"display_login":"gbonnema"}}