{"action":"opened","issue":{"url":"https://api.github.com/repos/substack/deep-freeze/issues/8","repository_url":"https://api.github.com/repos/substack/deep-freeze","labels_url":"https://api.github.com/repos/substack/deep-freeze/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/substack/deep-freeze/issues/8/comments","events_url":"https://api.github.com/repos/substack/deep-freeze/issues/8/events","html_url":"https://github.com/substack/deep-freeze/issues/8","id":178021988,"number":8,"title":"deep-freeze: How to change object in array","user":{"login":"wizardnet972","id":4997825,"avatar_url":"https://avatars.githubusercontent.com/u/4997825?v=3","gravatar_id":"","url":"https://api.github.com/users/wizardnet972","html_url":"https://github.com/wizardnet972","followers_url":"https://api.github.com/users/wizardnet972/followers","following_url":"https://api.github.com/users/wizardnet972/following{/other_user}","gists_url":"https://api.github.com/users/wizardnet972/gists{/gist_id}","starred_url":"https://api.github.com/users/wizardnet972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizardnet972/subscriptions","organizations_url":"https://api.github.com/users/wizardnet972/orgs","repos_url":"https://api.github.com/users/wizardnet972/repos","events_url":"https://api.github.com/users/wizardnet972/events{/privacy}","received_events_url":"https://api.github.com/users/wizardnet972/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T10:22:32Z","updated_at":"2016-09-20T10:22:32Z","closed_at":null,"body":"I have an array, and I dont know how to change it's values after I freeze it..\r\n```\r\n\r\nvar x = [{ id: 1, items: [[{ n: 52, select: false }, { n: 64, select: false }, { n: 93, select: false }], [{ n: 22, select: false }, { n: 64, select: false }, { n: 3, select: false }], [{ n: 12, select: false }, { n: 84, select: false }, { n: 3, select: false }]] }, { id: 2, items: [[{ n: 52, select: false }, { n: 4, select: false }, { n: 93, select: false }], [{ n: 52, select: false }, { n: 5, select: false }, { n: 3, select: false }], [{ n: 52, select: false }, { n: 64, select: false }, { n: 3, select: false }]] }]\r\n\r\nimport * as deepFreeze from 'deep-freeze';\r\nvar y = deepFreeze(x);\r\n```\r\n\r\nI want to change where n===52 to select=true anywhere in this array without create new array or change reference location.\r\n\r\nand Without using immutable.js\r\n\r\nI need some help with this please."}}
{"actor":{"display_login":"wizardnet972"}}