Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typed Error response body decoding #13

Open
timsearle opened this issue Mar 5, 2020 · 0 comments
Open

Typed Error response body decoding #13

timsearle opened this issue Mar 5, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@timsearle
Copy link
Contributor

Rather than the user of the library having to handle the optional Data? in the .http error type, it would be good to potentially allow the Resource to specify a generic type for the error response to be decoded, or a function that it can be passed through.

@timsearle timsearle added enhancement New feature or request good first issue Good for newcomers labels Mar 5, 2020
@mikezs mikezs added this to the 1.1.0 milestone Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants