wadewegner / Force.com-Toolkit-for-NET

The Force.com Toolkits for .NET provides an easy way for .NET developers to interact with the Force.com & Chatter REST APIs using native libraries.
BSD 3-Clause "New" or "Revised" License
374 stars 396 forks source link

Nullable types do not serialize correctly when using RunJobAndPollAsync #385

Open aaron-henselin opened 4 years ago

aaron-henselin commented 4 years ago

The current xml serialization implementationdoes not support handling null.

The http://www.w3.org/2001/XMLSchema-instance namespace should be added to the instance of xmlserializer. Then, the writexml signature of SObject should be updated to write xsi:nil where appropriate.