{"action":"created","issue":{"url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1083","labels_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1083/labels{/name}","comments_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1083/comments","events_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1083/events","html_url":"https://github.com/PerlDancer/Dancer2/issues/1083","id":124348283,"number":1083,"title":"Configuration missing for plugins inside plugins","user":{"login":"racke","id":143678,"avatar_url":"https://avatars.githubusercontent.com/u/143678?v=3","gravatar_id":"","url":"https://api.github.com/users/racke","html_url":"https://github.com/racke","followers_url":"https://api.github.com/users/racke/followers","following_url":"https://api.github.com/users/racke/following{/other_user}","gists_url":"https://api.github.com/users/racke/gists{/gist_id}","starred_url":"https://api.github.com/users/racke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racke/subscriptions","organizations_url":"https://api.github.com/users/racke/orgs","repos_url":"https://api.github.com/users/racke/repos","events_url":"https://api.github.com/users/racke/events{/privacy}","received_events_url":"https://api.github.com/users/racke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PerlDancer/Dancer2/labels/Bug","name":"Bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/PerlDancer/Dancer2/labels/D2P2","name":"D2P2","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-30T13:32:18Z","updated_at":"2016-01-02T12:11:36Z","closed_at":null,"body":"I tested the Dancer2::Plugin::Auth::Extensible topic/plugin2 against the latest copy of Dancer2, plugins-yanick.\r\nUnfortunately a plugin inside plugin misses its configuration when used. The plugin is included like that:\r\n\r\n```\r\nhas auth_extensible => (\r\n    is => 'ro',\r\n    lazy => 1,\r\n    default => sub {\r\n        scalar $_[0]->app->with_plugin( 'Auth::Extensible' )\r\n    },\r\n    handles => [ 'require_login' ],\r\n);\r\n```"},"comment":{"url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/comments/168384424","html_url":"https://github.com/PerlDancer/Dancer2/issues/1083#issuecomment-168384424","issue_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1083","id":168384424,"user":{"login":"racke","id":143678,"avatar_url":"https://avatars.githubusercontent.com/u/143678?v=3","gravatar_id":"","url":"https://api.github.com/users/racke","html_url":"https://github.com/racke","followers_url":"https://api.github.com/users/racke/followers","following_url":"https://api.github.com/users/racke/following{/other_user}","gists_url":"https://api.github.com/users/racke/gists{/gist_id}","starred_url":"https://api.github.com/users/racke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racke/subscriptions","organizations_url":"https://api.github.com/users/racke/orgs","repos_url":"https://api.github.com/users/racke/repos","events_url":"https://api.github.com/users/racke/events{/privacy}","received_events_url":"https://api.github.com/users/racke/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T12:11:36Z","updated_at":"2016-01-02T12:11:36Z","body":"OK, I added a test file. If you comment out the `$plugin->config` call in `BUILD` sub, all tests are passing."}}