bug: removeNullProperties in JSONSerializer removes non-recursive arrays #421
Open
Description
I've seen others with the same error messages I was seeing yesterday
"CustomerRef is missing" from posting an Invoice object.
Using JSON, the serializer 'removeNullProperties' method was filtering out the "CustomerRef" key/value, because the value itself was not a 'recurrsiveArray' (typo there - wasn't sure if I should change that too?)
Added a test to validate/demonstrate what I need (and assume should be correct behavior).
If there's a better way to fix this, please let me know.
I can't be the only one who's hit this, but... I've also been able to simply create an invoice for a customer for 2 days now, and traced it down to this.
Metadata
Assignees
Labels
No labels