Given a created entity with a non-null optional property, there seems to be no way to update the property to be null. It gets encoded as an empty string and Twilio API doesn't unset the value. Returned entity still contains the previously set property value.
Steps to Reproduce
Create an entity with an optional parameter filled
Attempt to update it, passing null as parameter's value
Issue Summary
Given a created entity with a non-null optional property, there seems to be no way to update the property to be
null
. It gets encoded as an empty string and Twilio API doesn't unset the value. Returned entity still contains the previously set property value.Steps to Reproduce
null
as parameter's valueCode Snippet
results in
Technical details: