{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/2757","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2757/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2757/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2757/events","html_url":"https://github.com/Particular/NServiceBus/issues/2757","id":90566805,"number":2757,"title":"XmlSerializer fails to deserialize array of nulluble ints","user":{"login":"particularbot","id":6763890,"avatar_url":"https://avatars.githubusercontent.com/u/6763890?v=3","gravatar_id":"","url":"https://api.github.com/users/particularbot","html_url":"https://github.com/particularbot","followers_url":"https://api.github.com/users/particularbot/followers","following_url":"https://api.github.com/users/particularbot/following{/other_user}","gists_url":"https://api.github.com/users/particularbot/gists{/gist_id}","starred_url":"https://api.github.com/users/particularbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/particularbot/subscriptions","organizations_url":"https://api.github.com/users/particularbot/orgs","repos_url":"https://api.github.com/users/particularbot/repos","events_url":"https://api.github.com/users/particularbot/events{/privacy}","received_events_url":"https://api.github.com/users/particularbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"johnsimons","id":122651,"avatar_url":"https://avatars.githubusercontent.com/u/122651?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsimons","html_url":"https://github.com/johnsimons","followers_url":"https://api.github.com/users/johnsimons/followers","following_url":"https://api.github.com/users/johnsimons/following{/other_user}","gists_url":"https://api.github.com/users/johnsimons/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsimons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsimons/subscriptions","organizations_url":"https://api.github.com/users/johnsimons/orgs","repos_url":"https://api.github.com/users/johnsimons/repos","events_url":"https://api.github.com/users/johnsimons/events{/privacy}","received_events_url":"https://api.github.com/users/johnsimons/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-24T05:09:51Z","updated_at":"2015-06-24T05:09:52Z","closed_at":null,"body":"**Issue by [SeanFeldman](https://github.com/SeanFeldman)** _4/2/2015 11:14:10 PM +00:00_ _Originally opened as https://github.com/Particular/NServiceBus/issues/2706_\r\n\r\n----\r\n\r\n## Who's affected\r\n\r\nAnyone who's using XML serialization with message contract containing lists of nullables.\r\n\r\n## Symptoms\r\n\r\nAll items in the list will deserialize to their `default` values regardless of what value they had when being serialized\r\n\r\n## How to reproduce\r\n\r\nSend a message with an array of nullable ints\r\n\r\n```c#\r\nclass SomeMessage : IMessage\r\n{\r\n   public int?[] Values {get;set;} \r\n}\r\n```\r\n\r\n**Originally reported in Desk**: https://nservicebus.desk.com/agent/case/10108"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/comments/114729032","html_url":"https://github.com/Particular/NServiceBus/issues/2757#issuecomment-114729032","issue_url":"https://api.github.com/repos/Particular/NServiceBus/issues/2757","id":114729032,"user":{"login":"particularbot","id":6763890,"avatar_url":"https://avatars.githubusercontent.com/u/6763890?v=3","gravatar_id":"","url":"https://api.github.com/users/particularbot","html_url":"https://github.com/particularbot","followers_url":"https://api.github.com/users/particularbot/followers","following_url":"https://api.github.com/users/particularbot/following{/other_user}","gists_url":"https://api.github.com/users/particularbot/gists{/gist_id}","starred_url":"https://api.github.com/users/particularbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/particularbot/subscriptions","organizations_url":"https://api.github.com/users/particularbot/orgs","repos_url":"https://api.github.com/users/particularbot/repos","events_url":"https://api.github.com/users/particularbot/events{/privacy}","received_events_url":"https://api.github.com/users/particularbot/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T05:09:52Z","updated_at":"2015-06-24T05:09:52Z","body":" **Comment by [johnsimons](https://github.com/johnsimons)** _https://github.com/Particular/NServiceBus/issues/2706#issuecomment-90303313_\r\n\r\n----\r\n\r\nI'm on the fence about adding support for this.\r\nIt seems arrays of nullable value types has never been supported and this bug would quite possible have been picked up in lower environments.\r\n\r\nHave they tried a List instead ? \r\nStill very confused why you need this, I would expect unassigned values would just not be assigned, hence no need to assign nullables.\r\n"}}