{"action":"created","issue":{"url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/101","labels_url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/101/comments","events_url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/101/events","html_url":"https://github.com/JakeGinnivan/WebApi.Hal/issues/101","id":81173790,"number":101,"title":"nullable embedded lists","user":{"login":"kbrichan","id":3181394,"avatar_url":"https://avatars.githubusercontent.com/u/3181394?v=3","gravatar_id":"","url":"https://api.github.com/users/kbrichan","html_url":"https://github.com/kbrichan","followers_url":"https://api.github.com/users/kbrichan/followers","following_url":"https://api.github.com/users/kbrichan/following{/other_user}","gists_url":"https://api.github.com/users/kbrichan/gists{/gist_id}","starred_url":"https://api.github.com/users/kbrichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbrichan/subscriptions","organizations_url":"https://api.github.com/users/kbrichan/orgs","repos_url":"https://api.github.com/users/kbrichan/repos","events_url":"https://api.github.com/users/kbrichan/events{/privacy}","received_events_url":"https://api.github.com/users/kbrichan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-26T22:56:16Z","updated_at":"2015-05-27T16:39:45Z","closed_at":null,"body":"Currently for an embedded list, an empty list must be instantiated in the constructor. I probably created this requirement some time ago, but a) it seems like an unnecessary requirement considering an ordinary Json converter knows how to instantiate a list for you if not already instantiated, and b) we have a use case needing to distinguish on the server side between an empty embedded list vs. a null list, meaning distinguishing whether the hal+json payload had an embedded list present or absent.\r\n\r\nAn empty list could not be used as the distinguisher because our WebApi.Hal implementation required an empty list to be instantiated in the constructor in order for the internals to hang together without blowing up.\r\n\r\nI have a proposed fix, for which I'll do a pull request."},"comment":{"url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/comments/105987946","html_url":"https://github.com/JakeGinnivan/WebApi.Hal/issues/101#issuecomment-105987946","issue_url":"https://api.github.com/repos/JakeGinnivan/WebApi.Hal/issues/101","id":105987946,"user":{"login":"JakeGinnivan","id":453152,"avatar_url":"https://avatars.githubusercontent.com/u/453152?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeGinnivan","html_url":"https://github.com/JakeGinnivan","followers_url":"https://api.github.com/users/JakeGinnivan/followers","following_url":"https://api.github.com/users/JakeGinnivan/following{/other_user}","gists_url":"https://api.github.com/users/JakeGinnivan/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeGinnivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeGinnivan/subscriptions","organizations_url":"https://api.github.com/users/JakeGinnivan/orgs","repos_url":"https://api.github.com/users/JakeGinnivan/repos","events_url":"https://api.github.com/users/JakeGinnivan/events{/privacy}","received_events_url":"https://api.github.com/users/JakeGinnivan/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T16:39:45Z","updated_at":"2015-05-27T16:39:45Z","body":"Ugh, screenshots on high dpi screens is terrible"}}