{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1075","repository_url":"https://api.github.com/repos/simplabs/ember-simple-auth","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1075/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1075/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/1075","id":178562930,"number":1075,"title":"Store not updating when modifying a nested property in the session data","user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/labels/bug","name":"bug","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T09:35:07Z","updated_at":"2016-09-22T09:51:33Z","closed_at":null,"body":"Hi. If I try to update the session data like this: `this.get('session').set('data.profile.name', 'x');` it doesn't work.\r\n  I understand why it doesn't work, I assume it is because of the `setUnknownProperty` function not triggering, which is to be expected .. but how can I solve this? Any way I could work around this? Do you guys think this is an issue we should solve?\r\n\r\nThank you so much."},"comment":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/comments/248857754","html_url":"https://github.com/simplabs/ember-simple-auth/issues/1075#issuecomment-248857754","issue_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/1075","id":248857754,"user":{"login":"tehmaestro","id":9526833,"avatar_url":"https://avatars.githubusercontent.com/u/9526833?v=3","gravatar_id":"","url":"https://api.github.com/users/tehmaestro","html_url":"https://github.com/tehmaestro","followers_url":"https://api.github.com/users/tehmaestro/followers","following_url":"https://api.github.com/users/tehmaestro/following{/other_user}","gists_url":"https://api.github.com/users/tehmaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/tehmaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehmaestro/subscriptions","organizations_url":"https://api.github.com/users/tehmaestro/orgs","repos_url":"https://api.github.com/users/tehmaestro/repos","events_url":"https://api.github.com/users/tehmaestro/events{/privacy}","received_events_url":"https://api.github.com/users/tehmaestro/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:51:33Z","updated_at":"2016-09-22T09:51:33Z","body":"Thanks for the quick answer. I 'll try to find a solution too .. in the meantime, I guess I could do it like this:\r\n`var profile = this.get('session.data.profile'); profile.name = 'x'; this.get('session').set('data.profile, profile);`"}}
{"actor":{"display_login":"tehmaestro"}}