{"action":"opened","issue":{"url":"https://api.github.com/repos/omcljs/om/issues/545","labels_url":"https://api.github.com/repos/omcljs/om/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/omcljs/om/issues/545/comments","events_url":"https://api.github.com/repos/omcljs/om/issues/545/events","html_url":"https://github.com/omcljs/om/issues/545","id":122780415,"number":545,"title":"Process-roots support for traversing a union","user":{"login":"awkay","id":1177083,"avatar_url":"https://avatars.githubusercontent.com/u/1177083?v=3","gravatar_id":"","url":"https://api.github.com/users/awkay","html_url":"https://github.com/awkay","followers_url":"https://api.github.com/users/awkay/followers","following_url":"https://api.github.com/users/awkay/following{/other_user}","gists_url":"https://api.github.com/users/awkay/gists{/gist_id}","starred_url":"https://api.github.com/users/awkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkay/subscriptions","organizations_url":"https://api.github.com/users/awkay/orgs","repos_url":"https://api.github.com/users/awkay/repos","events_url":"https://api.github.com/users/awkay/events{/privacy}","received_events_url":"https://api.github.com/users/awkay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T17:12:56Z","updated_at":"2015-12-17T17:12:56Z","closed_at":null,"body":"At the moment `process-roots` can mark a union as a new root, but will not check the sub-selectors for root markers, meaning that you cannot currently promote a root from the current \"path\" of the union. I see how to do this, and will be glad to write the actual code when I get a few moments. Wanted to open an issue so others can see we're addressing this.\r\n\r\nThe proposed implementation will recurse into all of the sub-selectors, but only promote the first it finds. Rewrite roots should be easy."}}