{"action":"created","issue":{"url":"https://api.github.com/repos/aurusov/raox/issues/420","repository_url":"https://api.github.com/repos/aurusov/raox","labels_url":"https://api.github.com/repos/aurusov/raox/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/aurusov/raox/issues/420/comments","events_url":"https://api.github.com/repos/aurusov/raox/issues/420/events","html_url":"https://github.com/aurusov/raox/issues/420","id":166188762,"number":420,"title":"Использование типов ресурсов в собираемых показателях","user":{"login":"aurusov","id":5585202,"avatar_url":"https://avatars.githubusercontent.com/u/5585202?v=3","gravatar_id":"","url":"https://api.github.com/users/aurusov","html_url":"https://github.com/aurusov","followers_url":"https://api.github.com/users/aurusov/followers","following_url":"https://api.github.com/users/aurusov/following{/other_user}","gists_url":"https://api.github.com/users/aurusov/gists{/gist_id}","starred_url":"https://api.github.com/users/aurusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurusov/subscriptions","organizations_url":"https://api.github.com/users/aurusov/orgs","repos_url":"https://api.github.com/users/aurusov/repos","events_url":"https://api.github.com/users/aurusov/events{/privacy}","received_events_url":"https://api.github.com/users/aurusov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurusov/raox/labels/priority","name":"priority","color":"e11d21"},{"url":"https://api.github.com/repos/aurusov/raox/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"AlexChernov","id":7085247,"avatar_url":"https://avatars.githubusercontent.com/u/7085247?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexChernov","html_url":"https://github.com/AlexChernov","followers_url":"https://api.github.com/users/AlexChernov/followers","following_url":"https://api.github.com/users/AlexChernov/following{/other_user}","gists_url":"https://api.github.com/users/AlexChernov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexChernov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexChernov/subscriptions","organizations_url":"https://api.github.com/users/AlexChernov/orgs","repos_url":"https://api.github.com/users/AlexChernov/repos","events_url":"https://api.github.com/users/AlexChernov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexChernov/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexChernov","id":7085247,"avatar_url":"https://avatars.githubusercontent.com/u/7085247?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexChernov","html_url":"https://github.com/AlexChernov","followers_url":"https://api.github.com/users/AlexChernov/followers","following_url":"https://api.github.com/users/AlexChernov/following{/other_user}","gists_url":"https://api.github.com/users/AlexChernov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexChernov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexChernov/subscriptions","organizations_url":"https://api.github.com/users/AlexChernov/orgs","repos_url":"https://api.github.com/users/AlexChernov/repos","events_url":"https://api.github.com/users/AlexChernov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexChernov/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aurusov/raox/milestones/15","html_url":"https://github.com/aurusov/raox/milestones/Rao%20X%20%D0%BA%20%D1%83%D1%87%D0%B5%D0%B1%D0%BD%D0%BE%D0%BC%D1%83%20%D0%B3%D0%BE%D0%B4%D1%83","labels_url":"https://api.github.com/repos/aurusov/raox/milestones/15/labels","id":1765976,"number":15,"title":"Rao X к учебному году","description":"","creator":{"login":"aurusov","id":5585202,"avatar_url":"https://avatars.githubusercontent.com/u/5585202?v=3","gravatar_id":"","url":"https://api.github.com/users/aurusov","html_url":"https://github.com/aurusov","followers_url":"https://api.github.com/users/aurusov/followers","following_url":"https://api.github.com/users/aurusov/following{/other_user}","gists_url":"https://api.github.com/users/aurusov/gists{/gist_id}","starred_url":"https://api.github.com/users/aurusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurusov/subscriptions","organizations_url":"https://api.github.com/users/aurusov/orgs","repos_url":"https://api.github.com/users/aurusov/repos","events_url":"https://api.github.com/users/aurusov/events{/privacy}","received_events_url":"https://api.github.com/users/aurusov/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":5,"state":"open","created_at":"2016-05-14T08:27:20Z","updated_at":"2016-07-19T14:18:48Z","due_on":"2016-08-31T20:00:00Z","closed_at":null},"comments":18,"created_at":"2016-07-18T20:43:05Z","updated_at":"2016-07-23T08:05:14Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/aurusov/raox/issues/comments/234706168","html_url":"https://github.com/aurusov/raox/issues/420#issuecomment-234706168","issue_url":"https://api.github.com/repos/aurusov/raox/issues/420","id":234706168,"user":{"login":"bogachev-pa","id":6528492,"avatar_url":"https://avatars.githubusercontent.com/u/6528492?v=3","gravatar_id":"","url":"https://api.github.com/users/bogachev-pa","html_url":"https://github.com/bogachev-pa","followers_url":"https://api.github.com/users/bogachev-pa/followers","following_url":"https://api.github.com/users/bogachev-pa/following{/other_user}","gists_url":"https://api.github.com/users/bogachev-pa/gists{/gist_id}","starred_url":"https://api.github.com/users/bogachev-pa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogachev-pa/subscriptions","organizations_url":"https://api.github.com/users/bogachev-pa/orgs","repos_url":"https://api.github.com/users/bogachev-pa/repos","events_url":"https://api.github.com/users/bogachev-pa/events{/privacy}","received_events_url":"https://api.github.com/users/bogachev-pa/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T08:05:14Z","updated_at":"2016-07-23T08:05:14Z","body":">Еще можно усложнить механизм деплоев путем подмены значений полей, таким образом за счет определенного оверхеда можно остаться в рамках одного и того же инстанса. \r\n\r\nЯ думал об этом, смотрел всякие либы по поводу дип-копи. Тут проблема в том, что ресурсы могут хранить в себе ресурсы и т.п., короч, я не уверен, что простой `memcpy()` на область памяти ресурсов поможет.\r\n\r\n>Еще один вариант - сделать все типы ресурсов врапперами, которые будут предоставлять все те же геттеры/сеттеры, но внутри будут хранить лишь инстанс типа и обращаться к нему. Вот его-то и можно спокойно подменять. То есть сделать постоянное проксирование.\r\n\r\nНе совсем понял. Какой смысл подменять инстанс типа?"}}
{"actor":{"display_login":"bogachev-pa"}}