{"action":"created","issue":{"url":"https://api.github.com/repos/php-fig/http-message/issues/30","labels_url":"https://api.github.com/repos/php-fig/http-message/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/php-fig/http-message/issues/30/comments","events_url":"https://api.github.com/repos/php-fig/http-message/issues/30/events","html_url":"https://github.com/php-fig/http-message/issues/30","id":63970261,"number":30,"title":"Doubts (Question?)","user":{"login":"pine3ree","id":3229979,"avatar_url":"https://avatars.githubusercontent.com/u/3229979?v=3","gravatar_id":"","url":"https://api.github.com/users/pine3ree","html_url":"https://github.com/pine3ree","followers_url":"https://api.github.com/users/pine3ree/followers","following_url":"https://api.github.com/users/pine3ree/following{/other_user}","gists_url":"https://api.github.com/users/pine3ree/gists{/gist_id}","starred_url":"https://api.github.com/users/pine3ree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pine3ree/subscriptions","organizations_url":"https://api.github.com/users/pine3ree/orgs","repos_url":"https://api.github.com/users/pine3ree/repos","events_url":"https://api.github.com/users/pine3ree/events{/privacy}","received_events_url":"https://api.github.com/users/pine3ree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-24T11:12:20Z","updated_at":"2015-03-24T15:39:40Z","closed_at":null,"body":"I was wondering about the MUST requirements imposed on the with{...} methods.\r\n\r\n\"This method MUST retain the state of the current instance, and return a new instance that contains the specified user information.\"\r\n\r\nIn my opinion if the with{} method doesn't change the state of the current instance, cloning should be avoided and the method should return the same instance. This would avoid unnecessary overhead while still preserving immutability."},"comment":{"url":"https://api.github.com/repos/php-fig/http-message/issues/comments/85565785","html_url":"https://github.com/php-fig/http-message/issues/30#issuecomment-85565785","issue_url":"https://api.github.com/repos/php-fig/http-message/issues/30","id":85565785,"user":{"login":"harikt","id":120454,"avatar_url":"https://avatars.githubusercontent.com/u/120454?v=3","gravatar_id":"","url":"https://api.github.com/users/harikt","html_url":"https://github.com/harikt","followers_url":"https://api.github.com/users/harikt/followers","following_url":"https://api.github.com/users/harikt/following{/other_user}","gists_url":"https://api.github.com/users/harikt/gists{/gist_id}","starred_url":"https://api.github.com/users/harikt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harikt/subscriptions","organizations_url":"https://api.github.com/users/harikt/orgs","repos_url":"https://api.github.com/users/harikt/repos","events_url":"https://api.github.com/users/harikt/events{/privacy}","received_events_url":"https://api.github.com/users/harikt/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T15:39:40Z","updated_at":"2015-03-24T15:39:40Z","body":"@pine3ree this has been already talked over the groups. And now is on vote.\r\n\r\nSo you should not expect anything to change :) ."}}