-
For better error handling, we can optionally support serde_path_to_error for deserializers. I'm not sure if it has some performance penalty on happy paths or not. If not, we can have it always. (and not hide it behind a feature flag) |
Beta Was this translation helpful? Give feedback.
Answered by
robjtede
Jan 8, 2025
Replies: 1 comment
-
We're experimenting with support for error paths like this in the lab. See The difficulty is in hiding implementation details and types of |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
omid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're experimenting with support for error paths like this in the lab. See
Query
as the first example.The difficulty is in hiding implementation details and types of
serde_path_to_error
in the public API, so more work should be done in the lab first before moving things over to Actix Web for real.