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
What does try_into have to do with anything? Shouldn't individual field validation mean that a setter returns a Result?
Either way, unlike #67 this is not something we can solve with a trait impl because we'd need one for each field. Maybe when const macros would support &str...
Is it possible (would it be possible?) to have each field validated when it is added?
It could look something like
Foo::builder().x(1).try_into().y(2).try_into().z(3).try_into().build();
.The text was updated successfully, but these errors were encountered: