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 am here mainly for the second part (Owned version of errors). without this, I do not know how to wrap ValidationError within my own thiserror enum. I Can get it to work somehow, but It would be a lot of lines of code.
(I am still a rust newb)
@hoijui There is a pub(crate)to_owned function which surely could be replaced by the ToOwned implementation - though, I am not yet sure if it will be sufficient. Let me know if I can help
Arc
inside validators, this might be a way to avoid refs to the schema.validate
toiter_errors
and addvalidate
that will return the first errorThe text was updated successfully, but these errors were encountered: