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
The user has to add #[garde(skip)] if they don't intend to validate the value field. It should instead be possible to add #[garde(allow_unvalidated)] to the struct at the top level which would ignore these errors for all fields. This is useful when there are many fields which the user doesn't want to validate. Currently, you have to add #[garde(skip)] to each one, which can get verbose very quickly.
Currently, the following will fail to compile:
The user has to add
#[garde(skip)]
if they don't intend to validate thevalue
field. It should instead be possible to add#[garde(allow_unvalidated)]
to the struct at the top level which would ignore these errors for all fields. This is useful when there are many fields which the user doesn't want to validate. Currently, you have to add#[garde(skip)]
to each one, which can get verbose very quickly.The text was updated successfully, but these errors were encountered: