{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/6729","repository_url":"https://api.github.com/repos/puppetlabs/puppet","labels_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6729/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6729/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6729/events","html_url":"https://github.com/puppetlabs/puppet/pull/6729","id":304072874,"number":6729,"title":"(PUP-7675) Add support for convert_to lookup option","user":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars3.githubusercontent.com/u/563066?v=4","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-10T14:01:24Z","updated_at":"2018-03-12T11:44:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/6729","html_url":"https://github.com/puppetlabs/puppet/pull/6729","diff_url":"https://github.com/puppetlabs/puppet/pull/6729.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/6729.patch"},"body":"This adds support for convert_to in lookup_options.\r\nThe convert_to key should be either String (a data type string), or Tuple[String, Any, 1].\r\n\r\nThe result is only converted at the very end.\r\nThere is no conversion of a default value given to the lookup function,\r\nor returned from a block computing the default value - they must return\r\nthe expected result type."},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments/372282565","html_url":"https://github.com/puppetlabs/puppet/pull/6729#issuecomment-372282565","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6729","id":372282565,"user":{"login":"hlindberg","id":563066,"avatar_url":"https://avatars3.githubusercontent.com/u/563066?v=4","gravatar_id":"","url":"https://api.github.com/users/hlindberg","html_url":"https://github.com/hlindberg","followers_url":"https://api.github.com/users/hlindberg/followers","following_url":"https://api.github.com/users/hlindberg/following{/other_user}","gists_url":"https://api.github.com/users/hlindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hlindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlindberg/subscriptions","organizations_url":"https://api.github.com/users/hlindberg/orgs","repos_url":"https://api.github.com/users/hlindberg/repos","events_url":"https://api.github.com/users/hlindberg/events{/privacy}","received_events_url":"https://api.github.com/users/hlindberg/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T11:44:29Z","updated_at":"2018-03-12T11:44:29Z","author_association":"CONTRIBUTOR","body":"Updated - the Lookup.lookup API is unchanged. Added better errors and fixed issues from reiew."}}
{"actor":{"display_login":"hlindberg"}}