Enable deserialization of ErrorResponse subtypes
Open
@romanstrobl is already working on this.
Since Mar 16, 2021.
enhancement
- Dominant language
- Java
- Stars
- 4
- Forks
- 3
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 5
Description
The DefaultRestClient can currently deserialize only the ErrorResponse type, but it fails to deserialize subtypes of the ErrorResponse. We should introduce a configuration option which allows to map error codes to types dynamically and allow to deserialize custom error responses which usually contain additional error data such as validation errors.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.