{"action":"created","issue":{"url":"https://api.github.com/repos/stevan/BreadBoard/issues/41","labels_url":"https://api.github.com/repos/stevan/BreadBoard/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/stevan/BreadBoard/issues/41/comments","events_url":"https://api.github.com/repos/stevan/BreadBoard/issues/41/events","html_url":"https://github.com/stevan/BreadBoard/issues/41","id":65255075,"number":41,"title":"The \"Null\" lifecycle feels like a hack","user":{"login":"dakkar","id":86328,"avatar_url":"https://avatars.githubusercontent.com/u/86328?v=3","gravatar_id":"","url":"https://api.github.com/users/dakkar","html_url":"https://github.com/dakkar","followers_url":"https://api.github.com/users/dakkar/followers","following_url":"https://api.github.com/users/dakkar/following{/other_user}","gists_url":"https://api.github.com/users/dakkar/gists{/gist_id}","starred_url":"https://api.github.com/users/dakkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakkar/subscriptions","organizations_url":"https://api.github.com/users/dakkar/orgs","repos_url":"https://api.github.com/users/dakkar/repos","events_url":"https://api.github.com/users/dakkar/events{/privacy}","received_events_url":"https://api.github.com/users/dakkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T16:59:17Z","updated_at":"2015-03-31T14:49:15Z","closed_at":null,"body":"If your service has a lifecycle applied, you can remove it by setting `$service->lifecycle('Null')`. This feels wrong (also, the way we remove a role by reblessing into the first superclass is probably fragile, but that's for another day).\r\nShould I write a (essentially empty) `Bread::Board::Lifecycle::Prototype` (to use the name from the manual) and document it? That way we can remove the special-cased name."},"comment":{"url":"https://api.github.com/repos/stevan/BreadBoard/issues/comments/88117294","html_url":"https://github.com/stevan/BreadBoard/issues/41#issuecomment-88117294","issue_url":"https://api.github.com/repos/stevan/BreadBoard/issues/41","id":88117294,"user":{"login":"stevan","id":45678,"avatar_url":"https://avatars.githubusercontent.com/u/45678?v=3","gravatar_id":"","url":"https://api.github.com/users/stevan","html_url":"https://github.com/stevan","followers_url":"https://api.github.com/users/stevan/followers","following_url":"https://api.github.com/users/stevan/following{/other_user}","gists_url":"https://api.github.com/users/stevan/gists{/gist_id}","starred_url":"https://api.github.com/users/stevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevan/subscriptions","organizations_url":"https://api.github.com/users/stevan/orgs","repos_url":"https://api.github.com/users/stevan/repos","events_url":"https://api.github.com/users/stevan/events{/privacy}","received_events_url":"https://api.github.com/users/stevan/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:49:15Z","updated_at":"2015-03-31T14:49:15Z","body":"To be honest, un-applying a role was not probably not a feature in Moose at the time I wrote this. As for your approach, I have no real objection to it beyond that it might break back-compat and that should be taken into account."}}