{"action":"created","issue":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/207","repository_url":"https://api.github.com/repos/toggl/mobileapp","labels_url":"https://api.github.com/repos/toggl/mobileapp/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/toggl/mobileapp/issues/207/comments","events_url":"https://api.github.com/repos/toggl/mobileapp/issues/207/events","html_url":"https://github.com/toggl/mobileapp/issues/207","id":235451765,"number":207,"title":"Decide what to do with premium attributes","user":{"login":"arturs105","id":15633003,"avatar_url":"https://avatars3.githubusercontent.com/u/15633003?v=3","gravatar_id":"","url":"https://api.github.com/users/arturs105","html_url":"https://github.com/arturs105","followers_url":"https://api.github.com/users/arturs105/followers","following_url":"https://api.github.com/users/arturs105/following{/other_user}","gists_url":"https://api.github.com/users/arturs105/gists{/gist_id}","starred_url":"https://api.github.com/users/arturs105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturs105/subscriptions","organizations_url":"https://api.github.com/users/arturs105/orgs","repos_url":"https://api.github.com/users/arturs105/repos","events_url":"https://api.github.com/users/arturs105/events{/privacy}","received_events_url":"https://api.github.com/users/arturs105/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/toggl/mobileapp/milestones/5","html_url":"https://github.com/toggl/mobileapp/milestone/5","labels_url":"https://api.github.com/repos/toggl/mobileapp/milestones/5/labels","id":2564692,"number":5,"title":"MVP Networking","description":"All online and syncing features needed for the MVP","creator":{"login":"amulware","id":3987892,"avatar_url":"https://avatars1.githubusercontent.com/u/3987892?v=3","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":4,"state":"open","created_at":"2017-06-06T11:09:02Z","updated_at":"2017-06-16T06:37:20Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-06-13T06:46:39Z","updated_at":"2017-06-16T06:39:34Z","closed_at":null,"body":"Some properties are accessible only to pro users (`Project.Billable`) and must not be sent over to api, but our current serialisation model does not support that.\r\n\r\nOne possible solution would be a `IgnoreIfNotPremiumAttribute` similarly as `IgnoreWhenPostingAttribute`.\r\n\r\nAny other solutions?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/toggl/mobileapp/issues/comments/308946286","html_url":"https://github.com/toggl/mobileapp/issues/207#issuecomment-308946286","issue_url":"https://api.github.com/repos/toggl/mobileapp/issues/207","id":308946286,"user":{"login":"amulware","id":3987892,"avatar_url":"https://avatars1.githubusercontent.com/u/3987892?v=3","gravatar_id":"","url":"https://api.github.com/users/amulware","html_url":"https://github.com/amulware","followers_url":"https://api.github.com/users/amulware/followers","following_url":"https://api.github.com/users/amulware/following{/other_user}","gists_url":"https://api.github.com/users/amulware/gists{/gist_id}","starred_url":"https://api.github.com/users/amulware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amulware/subscriptions","organizations_url":"https://api.github.com/users/amulware/orgs","repos_url":"https://api.github.com/users/amulware/repos","events_url":"https://api.github.com/users/amulware/events{/privacy}","received_events_url":"https://api.github.com/users/amulware/received_events","type":"User","site_admin":false},"created_at":"2017-06-16T06:39:34Z","updated_at":"2017-06-16T06:39:34Z","body":"Much more concerning than just 'premium' to me is that we have a number of different features that may be on or off per workspace, and we might have to serialise based on the current permutation of features, so we need to find some way of opt-in or opt-out of serialisation on a per-property base.\r\n\r\nSomething like:\r\n\r\n`[RequiresFeature(42)]`\r\n\r\nmaybe?"}}
{"actor":{"display_login":"amulware"}}