{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/29045","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/29045/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/29045/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/29045/events","html_url":"https://github.com/symfony/symfony/pull/29045","id":376064839,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MzY2ODI5","number":29045,"title":"[Messenger] allow to change the message name","user":{"login":"Tobion","id":610090,"node_id":"MDQ6VXNlcjYxMDA5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/610090?v=4","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"labels":[{"id":100378,"node_id":"MDU6TGFiZWwxMDAzNzg=","url":"https://api.github.com/repos/symfony/symfony/labels/Feature","name":"Feature","color":"02e10c","default":false},{"id":877085690,"node_id":"MDU6TGFiZWw4NzcwODU2OTA=","url":"https://api.github.com/repos/symfony/symfony/labels/Messenger","name":"Messenger","color":"dddddd","default":false},{"id":237003792,"node_id":"MDU6TGFiZWwyMzcwMDM3OTI=","url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/symfony/symfony/milestones/18","html_url":"https://github.com/symfony/symfony/milestone/18","labels_url":"https://api.github.com/repos/symfony/symfony/milestones/18/labels","id":3234645,"node_id":"MDk6TWlsZXN0b25lMzIzNDY0NQ==","number":18,"title":"next","description":"https://symfony.com/roadmap?version=4.2#checker","creator":{"login":"nicolas-grekas","id":243674,"node_id":"MDQ6VXNlcjI0MzY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/243674?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"open_issues":149,"closed_issues":343,"state":"open","created_at":"2018-04-02T12:03:21Z","updated_at":"2018-10-31T17:18:34Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-10-31T16:58:36Z","updated_at":"2018-10-31T17:19:15Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/29045","html_url":"https://github.com/symfony/symfony/pull/29045","diff_url":"https://github.com/symfony/symfony/pull/29045.diff","patch_url":"https://github.com/symfony/symfony/pull/29045.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       | master\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no    \r\n| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->\r\n| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nHaving the class name as default for the message name is the best practice and usually does not need to be changed. But I think we need to provide a way to do so for just for flexibility. This allows people to opt-out of interface/parent class based routing (#28993) by manually calling `$bus->dispatch(Envelope::createNamed($message, 'foo'))`. IMO we don't need to add an optional name parameter to the `dispatch` method like originally proposed in #28944 since it's an edge case that does not need to be exposed at the primary entry point.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/434773811","html_url":"https://github.com/symfony/symfony/pull/29045#issuecomment-434773811","issue_url":"https://api.github.com/repos/symfony/symfony/issues/29045","id":434773811,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDc3MzgxMQ==","user":{"login":"nicolas-grekas","id":243674,"node_id":"MDQ6VXNlcjI0MzY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/243674?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T17:19:15Z","updated_at":"2018-10-31T17:19:15Z","author_association":"MEMBER","body":"The serializing part loses the name - that's why I added it as a stamp in a previous PR."}}
{"actor":{"display_login":"nicolas-grekas"}}