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 think the most reasonable output would instead be an empty string (as the only list element) wrapped in Some for both forms.
What might also be relevant: I think the same forms with String replaced by f64 should produce foo: None for FormA and a deserialization error for FormB. I think both should already be the case.
This is a breaking change, so if implemented I will publish it as part of serde_html_form 0.3.0.
The text was updated successfully, but these errors were encountered:
Currently, the following two forms get the
foo
field deserialized toNone
given the inputfoo=
:I think the most reasonable output would instead be an empty string (as the only list element) wrapped in
Some
for both forms.What might also be relevant: I think the same forms with
String
replaced byf64
should producefoo: None
forFormA
and a deserialization error forFormB
. I think both should already be the case.This is a breaking change, so if implemented I will publish it as part of
serde_html_form 0.3.0
.The text was updated successfully, but these errors were encountered: