This change means that isn't a base type of undefined, string, number, array or object will be passed as-is and the { "content-type": "application/json" } header will be omitted.
This means we don't need to do the individual type checking that we had before, which was really fragile and limited.
This change means that isn't a base type of
undefined
,string
,number
,array
orobject
will be passed as-is and the{ "content-type": "application/json" }
header will be omitted.This means we don't need to do the individual type checking that we had before, which was really fragile and limited.