{"action":"created","issue":{"url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/24","repository_url":"https://api.github.com/repos/davydovanton/shallow_attributes","labels_url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/24/comments","events_url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/24/events","html_url":"https://github.com/davydovanton/shallow_attributes/issues/24","id":364576852,"node_id":"MDU6SXNzdWUzNjQ1NzY4NTI=","number":24,"title":"Immutability","user":{"login":"maxim","id":7758,"node_id":"MDQ6VXNlcjc3NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7758?v=4","gravatar_id":"","url":"https://api.github.com/users/maxim","html_url":"https://github.com/maxim","followers_url":"https://api.github.com/users/maxim/followers","following_url":"https://api.github.com/users/maxim/following{/other_user}","gists_url":"https://api.github.com/users/maxim/gists{/gist_id}","starred_url":"https://api.github.com/users/maxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxim/subscriptions","organizations_url":"https://api.github.com/users/maxim/orgs","repos_url":"https://api.github.com/users/maxim/repos","events_url":"https://api.github.com/users/maxim/events{/privacy}","received_events_url":"https://api.github.com/users/maxim/received_events","type":"User","site_admin":false},"labels":[{"id":341540678,"node_id":"MDU6TGFiZWwzNDE1NDA2Nzg=","url":"https://api.github.com/repos/davydovanton/shallow_attributes/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":341540681,"node_id":"MDU6TGFiZWwzNDE1NDA2ODE=","url":"https://api.github.com/repos/davydovanton/shallow_attributes/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-27T17:26:30Z","updated_at":"2018-09-29T19:27:39Z","closed_at":null,"author_association":"NONE","body":"Great lib, love how small and efficient it is. Would be great if it could produce immutable objects, either frozen by default, or with skipped attribute writers. Curious to hear your thoughts."},"comment":{"url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/comments/425669929","html_url":"https://github.com/davydovanton/shallow_attributes/issues/24#issuecomment-425669929","issue_url":"https://api.github.com/repos/davydovanton/shallow_attributes/issues/24","id":425669929,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY2OTkyOQ==","user":{"login":"maxim","id":7758,"node_id":"MDQ6VXNlcjc3NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7758?v=4","gravatar_id":"","url":"https://api.github.com/users/maxim","html_url":"https://github.com/maxim","followers_url":"https://api.github.com/users/maxim/followers","following_url":"https://api.github.com/users/maxim/following{/other_user}","gists_url":"https://api.github.com/users/maxim/gists{/gist_id}","starred_url":"https://api.github.com/users/maxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxim/subscriptions","organizations_url":"https://api.github.com/users/maxim/orgs","repos_url":"https://api.github.com/users/maxim/repos","events_url":"https://api.github.com/users/maxim/events{/privacy}","received_events_url":"https://api.github.com/users/maxim/received_events","type":"User","site_admin":false},"created_at":"2018-09-29T19:27:39Z","updated_at":"2018-09-29T19:27:39Z","author_association":"NONE","body":"Sounds like a good option. What do you think about per-attribute?\r\n\r\n```ruby\r\nattribute :name, String, writer: false # true/false/:protected\r\n```\r\n\r\nAnd for any such non-true attribute, it would also be excluded from mass assignment via `attributes=`."}}
{"actor":{"display_login":"maxim"}}