{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/Illuminator/issues/8","labels_url":"https://api.github.com/repos/paypal/Illuminator/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/paypal/Illuminator/issues/8/comments","events_url":"https://api.github.com/repos/paypal/Illuminator/issues/8/events","html_url":"https://github.com/paypal/Illuminator/issues/8","id":64593124,"number":8,"title":"Add \"get first\" functionality similar to \"Get one\" when doing selector lookups","user":{"login":"ifreecarve","id":583459,"avatar_url":"https://avatars.githubusercontent.com/u/583459?v=3","gravatar_id":"","url":"https://api.github.com/users/ifreecarve","html_url":"https://github.com/ifreecarve","followers_url":"https://api.github.com/users/ifreecarve/followers","following_url":"https://api.github.com/users/ifreecarve/following{/other_user}","gists_url":"https://api.github.com/users/ifreecarve/gists{/gist_id}","starred_url":"https://api.github.com/users/ifreecarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifreecarve/subscriptions","organizations_url":"https://api.github.com/users/ifreecarve/orgs","repos_url":"https://api.github.com/users/ifreecarve/repos","events_url":"https://api.github.com/users/ifreecarve/events{/privacy}","received_events_url":"https://api.github.com/users/ifreecarve/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/Illuminator/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/paypal/Illuminator/labels/Javascript%20Core","name":"Javascript Core","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T17:49:35Z","updated_at":"2015-03-26T17:49:41Z","closed_at":null,"body":"* `getOneChildElement` throws an exception for multiple or no values returned\r\n* `getChildElement` throws an exception for multiple values, but returns `nil` if no value is returned\r\n\r\n### what to add\r\n* `getFirstChildElement` should return a value, or nil, in every case\r\n* `AppMap.actionBuilder.makeAction` should have a `firstElement`, similar to `element`\r\n* `screenIsActive.byElement` should have a corresponding `byFirstElement`."},"comment":{"url":"https://api.github.com/repos/paypal/Illuminator/issues/comments/86643203","html_url":"https://github.com/paypal/Illuminator/issues/8#issuecomment-86643203","issue_url":"https://api.github.com/repos/paypal/Illuminator/issues/8","id":86643203,"user":{"login":"ifreecarve","id":583459,"avatar_url":"https://avatars.githubusercontent.com/u/583459?v=3","gravatar_id":"","url":"https://api.github.com/users/ifreecarve","html_url":"https://github.com/ifreecarve","followers_url":"https://api.github.com/users/ifreecarve/followers","following_url":"https://api.github.com/users/ifreecarve/following{/other_user}","gists_url":"https://api.github.com/users/ifreecarve/gists{/gist_id}","starred_url":"https://api.github.com/users/ifreecarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifreecarve/subscriptions","organizations_url":"https://api.github.com/users/ifreecarve/orgs","repos_url":"https://api.github.com/users/ifreecarve/repos","events_url":"https://api.github.com/users/ifreecarve/events{/privacy}","received_events_url":"https://api.github.com/users/ifreecarve/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T17:49:41Z","updated_at":"2015-03-26T17:49:41Z","body":"It's not clear whether I should copy/paste the `makeAction.element` functions to `makeAction.firstElement` or make a function that generates the set of `makeAction.*element` functions and pass it `(\"element\", getOneChildElement)` and `(\"firstElement\", getFirstChildElement)` respectively.  What effects will this have on documentation?"}}