{"action":"created","issue":{"url":"https://api.github.com/repos/zussel/oos/issues/71","repository_url":"https://api.github.com/repos/zussel/oos","labels_url":"https://api.github.com/repos/zussel/oos/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/zussel/oos/issues/71/comments","events_url":"https://api.github.com/repos/zussel/oos/issues/71/events","html_url":"https://github.com/zussel/oos/issues/71","id":195844550,"number":71,"title":"Create an example project","user":{"login":"zussel","id":345843,"avatar_url":"https://avatars.githubusercontent.com/u/345843?v=3","gravatar_id":"","url":"https://api.github.com/users/zussel","html_url":"https://github.com/zussel","followers_url":"https://api.github.com/users/zussel/followers","following_url":"https://api.github.com/users/zussel/following{/other_user}","gists_url":"https://api.github.com/users/zussel/gists{/gist_id}","starred_url":"https://api.github.com/users/zussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zussel/subscriptions","organizations_url":"https://api.github.com/users/zussel/orgs","repos_url":"https://api.github.com/users/zussel/repos","events_url":"https://api.github.com/users/zussel/events{/privacy}","received_events_url":"https://api.github.com/users/zussel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-15T16:05:41Z","updated_at":"2016-12-16T10:54:38Z","closed_at":null,"body":"Create an example project which covers almost all facets of OOS.\r\n\r\nSuggestion: Blog\r\n\r\n## Entities\r\n**Post**\r\n\r\nAttribute      | Type\r\n-----------------|-------\r\nid                 | identifier\\<unsigned long>\r\ntitle              | varchar\\<255>\r\nauthor         | has_one\\<author>\r\ncreated_at   | time\r\ncategories   | has_many\\<category>\r\ncomments   | has_many\\<comment>\r\ntags             | has_many\\<varchar\\<255>>\r\nattachment  | blob\r\n\r\n**Author**\r\n\r\nAttribute | Type\r\n-------------|-------\r\nid                 | identifier\\<unsigned long>\r\nname           | varchar\\<255>\r\nbirthdate     | date\r\nposts           | has_many\\<post>\r\n\r\n**Comment**\r\n\r\nAttribute | Type\r\n-------------|-------\r\nid                 | identifier\\<unsigned long>\r\npost             | has_one\\<post>\r\nemail           | varchar\\<255>\r\ncomment     | std::string\r\ncreated_at   | time\r\n\r\n**Category**\r\n\r\nAttribute | Type\r\n-------------|-------\r\nid                 | identifier\\<unsigned long>\r\nname           | varchar\\<255>\r\ndescription  | std::string\r\nposts           | has_many\\<post>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zussel/oos/issues/comments/267569043","html_url":"https://github.com/zussel/oos/issues/71#issuecomment-267569043","issue_url":"https://api.github.com/repos/zussel/oos/issues/71","id":267569043,"user":{"login":"zussel","id":345843,"avatar_url":"https://avatars.githubusercontent.com/u/345843?v=3","gravatar_id":"","url":"https://api.github.com/users/zussel","html_url":"https://github.com/zussel","followers_url":"https://api.github.com/users/zussel/followers","following_url":"https://api.github.com/users/zussel/following{/other_user}","gists_url":"https://api.github.com/users/zussel/gists{/gist_id}","starred_url":"https://api.github.com/users/zussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zussel/subscriptions","organizations_url":"https://api.github.com/users/zussel/orgs","repos_url":"https://api.github.com/users/zussel/repos","events_url":"https://api.github.com/users/zussel/events{/privacy}","received_events_url":"https://api.github.com/users/zussel/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T10:54:38Z","updated_at":"2016-12-16T10:54:38Z","body":"Ok, I get the point. But to be honest I don't like the idea of a ```serialize()/deserialize()``` interface. In most cases the code is almost redundant and the user will ask why the must write doubled code. That's why I removed that.\r\n\r\nI would like to find another solution for that.\r\n\r\nWe can mix the auto detection of ```to_string()/parse()``` with the ability to let the user pass a fitting function. So if the user stays with the convention everything will work automagically in the other case the user has to write and pass a wrapper function.\r\n\r\nI've learned that it's hard to cover 100% of all use cases but 90% is much easier. And the remaining 10% are also able to get their things done with the library (with a bit overhead on their side).\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"zussel"}}