{"action":"opened","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/1045","repository_url":"https://api.github.com/repos/mobxjs/mobx-state-tree","labels_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/1045/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-state-tree/issues/1045/events","html_url":"https://github.com/mobxjs/mobx-state-tree/issues/1045","id":370154195,"node_id":"MDU6SXNzdWUzNzAxNTQxOTU=","number":1045,"title":"Array item not updated when snapshot applied for certain union types","user":{"login":"hamczu","id":298715,"node_id":"MDQ6VXNlcjI5ODcxNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/298715?v=4","gravatar_id":"","url":"https://api.github.com/users/hamczu","html_url":"https://github.com/hamczu","followers_url":"https://api.github.com/users/hamczu/followers","following_url":"https://api.github.com/users/hamczu/following{/other_user}","gists_url":"https://api.github.com/users/hamczu/gists{/gist_id}","starred_url":"https://api.github.com/users/hamczu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamczu/subscriptions","organizations_url":"https://api.github.com/users/hamczu/orgs","repos_url":"https://api.github.com/users/hamczu/repos","events_url":"https://api.github.com/users/hamczu/events{/privacy}","received_events_url":"https://api.github.com/users/hamczu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-15T13:06:15Z","updated_at":"2018-10-15T13:06:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have:\r\n\r\n* [x] I think something is not working as it should.\r\n  * [x] I've checked documentation and searched for existing issues\r\n  * [x] I've made sure your project is based on the latest MST version\r\n  * [x] Fork [this](https://codesandbox.io/s/jlnmjqr7xv) code sandbox or another minimal reproduction. \r\n  * [x] Describe expected behavior\r\n  * [x] Describe observed behavior\r\n\r\n**Sandbox:** https://codesandbox.io/s/43mv0yp0v4\r\n\r\n**Expected:**\r\nWhen snapshot for an array is applied - the new value is applied to an array item.\r\n\r\n**Observed:**\r\nArray item is not updated. \r\n![screen shot 2018-10-15 at 15 05 18](https://user-images.githubusercontent.com/298715/46952649-c04b6c00-d08b-11e8-8255-b5ca117583f7.png)\r\n\r\n\r\nSpeculation - it has something to do with union type definition order in combination with maybe types, but I don't know MST well enough to be able to track this issue down.\r\n"}}
{"actor":{"display_login":"hamczu"}}