{"action":"created","issue":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/316","labels_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/316/comments","events_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/316/events","html_url":"https://github.com/Hearst-DD/ObjectMapper/pull/316","id":120421294,"number":316,"title":"WIP Support mappable transforms","user":{"login":"tapi","id":455558,"avatar_url":"https://avatars.githubusercontent.com/u/455558?v=3","gravatar_id":"","url":"https://api.github.com/users/tapi","html_url":"https://github.com/tapi","followers_url":"https://api.github.com/users/tapi/followers","following_url":"https://api.github.com/users/tapi/following{/other_user}","gists_url":"https://api.github.com/users/tapi/gists{/gist_id}","starred_url":"https://api.github.com/users/tapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapi/subscriptions","organizations_url":"https://api.github.com/users/tapi/orgs","repos_url":"https://api.github.com/users/tapi/repos","events_url":"https://api.github.com/users/tapi/events{/privacy}","received_events_url":"https://api.github.com/users/tapi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-04T15:16:52Z","updated_at":"2015-12-08T18:10:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/pulls/316","html_url":"https://github.com/Hearst-DD/ObjectMapper/pull/316","diff_url":"https://github.com/Hearst-DD/ObjectMapper/pull/316.diff","patch_url":"https://github.com/Hearst-DD/ObjectMapper/pull/316.patch"},"body":"This PR aims to address #309.\r\n\r\nThe implementation is done, just working out some test cases right now. I wanted to push and get a feeling for style, correctness, etc.\r\nEach commit references a specific use case of `<-` so they can be looked at in isolation rather than as one big change set."},"comment":{"url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/comments/162965540","html_url":"https://github.com/Hearst-DD/ObjectMapper/pull/316#issuecomment-162965540","issue_url":"https://api.github.com/repos/Hearst-DD/ObjectMapper/issues/316","id":162965540,"user":{"login":"tapi","id":455558,"avatar_url":"https://avatars.githubusercontent.com/u/455558?v=3","gravatar_id":"","url":"https://api.github.com/users/tapi","html_url":"https://github.com/tapi","followers_url":"https://api.github.com/users/tapi/followers","following_url":"https://api.github.com/users/tapi/following{/other_user}","gists_url":"https://api.github.com/users/tapi/gists{/gist_id}","starred_url":"https://api.github.com/users/tapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapi/subscriptions","organizations_url":"https://api.github.com/users/tapi/orgs","repos_url":"https://api.github.com/users/tapi/repos","events_url":"https://api.github.com/users/tapi/events{/privacy}","received_events_url":"https://api.github.com/users/tapi/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T18:10:04Z","updated_at":"2015-12-08T18:10:04Z","body":"I was thinking of something like JSONAPI, but that use case is turning out to be a bit contrived. \r\nNot sure if you recall but we don't inline our relationships in our JSON response, instead we have a URI reference for that relation ship. Later on in the payload we include all of the related objects identified by there URI.\r\n\r\nAn example payload would be something like \r\n```json\r\n{\r\n\t\"teams\": [{\r\n\t\t\"api_uri\": \"/dota2/teams/8\",\r\n\t\t\"full_name\": \"Team Secret\",\r\n\t\t\"short_name\": \"Secret\",\r\n\t\t\"country\": \"International\",\r\n\t}, {\r\n\t\t\"api_uri\": \"/dota2/teams/43\",\r\n\t\t\"full_name\": \"Mineski\",\r\n\t\t\"short_name\": \"Mski\",\r\n\t\t\"country\": \"Philippines\",\r\n\t}],\r\n\t\"games\": [{\r\n\t\t\"api_uri\": \"/dota2/games/2723\",\r\n\t\t\"game_number\": 2,\r\n\t\t\"game_time\": \"33:49\",\r\n\t\t\"minutes\": 33,\r\n\t\t\"seconds\": 49,\r\n\t\t\"status\": \"post-game\",\r\n\t\t\"roshan_respawn_timer\": 269,\r\n\t\t\"max_gold_advantage\": 31245,\r\n\t\t\"max_xp_advantage\": 28281,\r\n\t\t\"match_url\": \"/dota2/matches/1418\",\r\n\t\t\"dire_team_url\": \"/dota2/teams/8\",\r\n\t\t\"radiant_team_url\": \"/dota2/teams/43\",\r\n\t\t\"winning_team_url\": \"/dota2/teams/8\"\r\n\t}],\r\n\t\"matches\": [{\r\n\t\t\"api_uri\": \"/dota2/matches/1418\",\r\n\t\t\"competition_label\": \"The Frankfurt Major 2015\",\r\n\t\t\"start_date\": \"2015-11-17T10:00:00.000Z\",\r\n\t\t\"status\": \"post-match\",\r\n\t\t\"tie_match\": false,\r\n\t\t\"max_games\": 3,\r\n\t\t\"round_label\": \"Playoffs Upper Bracket\",\r\n\t\t\"team1_score\": 2,\r\n\t\t\"team2_score\": 0,\r\n\t\t\"competition_url\": \"/dota2/competitions/32\",\r\n\t\t\"team1_url\": \"/dota2/teams/8\",\r\n\t\t\"team2_url\": \"/dota2/teams/43\",\r\n\t\t\"winning_team_url\": \"/dota2/teams/8\",\r\n\t\t\"current_game_url\": \"/dota2/games/2723\"\r\n\t}]\r\n}\r\n```"}}