{"action":"opened","issue":{"url":"https://api.github.com/repos/mvkra/protobuf-net-fsharp/issues/1","repository_url":"https://api.github.com/repos/mvkra/protobuf-net-fsharp","labels_url":"https://api.github.com/repos/mvkra/protobuf-net-fsharp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mvkra/protobuf-net-fsharp/issues/1/comments","events_url":"https://api.github.com/repos/mvkra/protobuf-net-fsharp/issues/1/events","html_url":"https://github.com/mvkra/protobuf-net-fsharp/issues/1","id":285018224,"number":1,"title":"F# Collection support ","user":{"login":"mvkra","id":5882179,"avatar_url":"https://avatars1.githubusercontent.com/u/5882179?v=4","gravatar_id":"","url":"https://api.github.com/users/mvkra","html_url":"https://github.com/mvkra","followers_url":"https://api.github.com/users/mvkra/followers","following_url":"https://api.github.com/users/mvkra/following{/other_user}","gists_url":"https://api.github.com/users/mvkra/gists{/gist_id}","starred_url":"https://api.github.com/users/mvkra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvkra/subscriptions","organizations_url":"https://api.github.com/users/mvkra/orgs","repos_url":"https://api.github.com/users/mvkra/repos","events_url":"https://api.github.com/users/mvkra/events{/privacy}","received_events_url":"https://api.github.com/users/mvkra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-29T01:25:54Z","updated_at":"2017-12-29T01:25:54Z","closed_at":null,"author_association":"OWNER","body":"Ideally the library should support at least the F# list type and allow deserisation of  empty rather than null arrays. The fact that Protobuf.Net deserialises blank arrays as Nulls plays havoc with some of F#'s  built in features particuarly when comparing/equalising/hash coding records and DU's. You can workaround it by cloning the deserialised object and all its children (immutable) and placing an empty list where a Null is deserialised but it is a pain.\r\n\r\nThis change makes the library more F# friendly for real world cases. A proof of concept branch is committed (https://github.com/mvkra/protobuf-net-fsharp/tree/fsharp-collections) but needs the PR at (https://github.com/mgravell/protobuf-net/pull/336) to actually work - therefore is subject to change."}}
{"actor":{"display_login":"mvkra"}}