Skip to content

Comments

Nil values serialization#6

Open
wrozka wants to merge 2 commits intodtmtec:masterfrom
wrozka:xml_nil
Open

Nil values serialization#6
wrozka wants to merge 2 commits intodtmtec:masterfrom
wrozka:xml_nil

Conversation

@wrozka
Copy link

@wrozka wrozka commented Jul 7, 2017

To set a nil value on an object, the field description needs to have an xsi:nil attribute. It is described in Salesfoce docs:

To set a field value to null in XML, set the xsi:nil value for the field to true

This pull request add an xsi:nil="true" tag to nil fields and adds xsi namespace to xml payloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant