Closed chuckwondo closed 3 months ago
Non-authoritative response, but @jcrist has made a statement about not wanting to support this before.
Non-authoritative response, but @jcrist has made a statement about not wanting to support this before.
@provinzkraut, thank you for pointing that out. I couldn't manage to find prior, related discussions, so I appreciate your pointing me in the right direction. I had a feeling the answer would be along the lines covered in that thread, so I'll close this issue.
Description
It would be nice to be able to identify multiple ValidationErrors at a time rather than failing fast on the first ValidationError encountered.
For example, given this Struct:
If we decode data where both values are out of range, we get only one validation error:
It would be helpful for both errors to be identified.
@jcrist, I've opened a few issues recently, but I'm more than happy to dig into the code to attempt creating some PRs, but I will likely need some pointers.