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
As valuations is not an Option<HashSet<CustomValuationMethod>> value and it's therefore impossible to compile a program that does not set this field I consider this as a bug.
The text was updated successfully, but these errors were encountered:
valuations should have the #[serde(default)] annotation added to it, and I think this will fix it. This is a quirk of serde_qs, the library we use for URL encoding form data.
When calling
settings_api
from client side with aSettings
struct that has a emptyvaluations
HashSet
(created viaDefault::default()
) the call fails.The browser sends only the following payload
As
valuations
is not anOption<HashSet<CustomValuationMethod>>
value and it's therefore impossible to compile a program that does not set this field I consider this as a bug.The text was updated successfully, but these errors were encountered: