You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just helped track down why a test looking like this failed:
test-given '/get_excel_export', {
test post(
content-type => 'application/x-www-form-urlencoded',
body => {
:datasetName('TestSingle'),
:language('de'),
:!withFilters
}),
status => 200;
};
A urlencoded form cannot represent a boolean. It has no concept of anything but strings, really. A checkbox will not submit a boolean, but rather a value string or an empty string. We can certainly automatically stringify numbers as a convenience, but probably anything that's neither a string nor a number (excluding Bool) is probably not going to do anything useful. We should warn about this situation.
The text was updated successfully, but these errors were encountered:
I just helped track down why a test looking like this failed:
A urlencoded form cannot represent a boolean. It has no concept of anything but strings, really. A checkbox will not submit a boolean, but rather a value string or an empty string. We can certainly automatically stringify numbers as a convenience, but probably anything that's neither a string nor a number (excluding
Bool
) is probably not going to do anything useful. We should warn about this situation.The text was updated successfully, but these errors were encountered: