{"action":"created","issue":{"url":"https://api.github.com/repos/tjwallace/fit/issues/6","labels_url":"https://api.github.com/repos/tjwallace/fit/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/tjwallace/fit/issues/6/comments","events_url":"https://api.github.com/repos/tjwallace/fit/issues/6/events","html_url":"https://github.com/tjwallace/fit/pull/6","id":54708175,"number":6,"title":"add dynamic fields support","user":{"login":"doc75","id":926263,"avatar_url":"https://avatars.githubusercontent.com/u/926263?v=3","gravatar_id":"","url":"https://api.github.com/users/doc75","html_url":"https://github.com/doc75","followers_url":"https://api.github.com/users/doc75/followers","following_url":"https://api.github.com/users/doc75/following{/other_user}","gists_url":"https://api.github.com/users/doc75/gists{/gist_id}","starred_url":"https://api.github.com/users/doc75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doc75/subscriptions","organizations_url":"https://api.github.com/users/doc75/orgs","repos_url":"https://api.github.com/users/doc75/repos","events_url":"https://api.github.com/users/doc75/events{/privacy}","received_events_url":"https://api.github.com/users/doc75/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-18T20:05:04Z","updated_at":"2015-01-23T20:15:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tjwallace/fit/pulls/6","html_url":"https://github.com/tjwallace/fit/pull/6","diff_url":"https://github.com/tjwallace/fit/pull/6.diff","patch_url":"https://github.com/tjwallace/fit/pull/6.patch"},"body":"This PR implement dynamic fields.\r\nAs an example for file_id message. If the field 'manufacturer' is having the value 1 ('garmin'), then, the field 'product' is treated as a 'garmin_product' type.\r\nIt also manage the value of the field by taking into account the enum values (string is returned instead of the raw value). Raw fields are unchanged.\r\n\r\nAs this is an important change, please feel free to comment.\r\n"},"comment":{"url":"https://api.github.com/repos/tjwallace/fit/issues/comments/71258071","html_url":"https://github.com/tjwallace/fit/pull/6#issuecomment-71258071","issue_url":"https://api.github.com/repos/tjwallace/fit/issues/6","id":71258071,"user":{"login":"tjwallace","id":91084,"avatar_url":"https://avatars.githubusercontent.com/u/91084?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwallace","html_url":"https://github.com/tjwallace","followers_url":"https://api.github.com/users/tjwallace/followers","following_url":"https://api.github.com/users/tjwallace/following{/other_user}","gists_url":"https://api.github.com/users/tjwallace/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwallace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwallace/subscriptions","organizations_url":"https://api.github.com/users/tjwallace/orgs","repos_url":"https://api.github.com/users/tjwallace/repos","events_url":"https://api.github.com/users/tjwallace/events{/privacy}","received_events_url":"https://api.github.com/users/tjwallace/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T20:15:06Z","updated_at":"2015-01-23T20:15:06Z","body":"@doc75 I'd open a PR, leave it open for a couple days to see if anyone comments on it, and then merge it in when you feel it's ready. If I see a PR I'll try my best to review it."}}