-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bypassing the HttpError serialization #4
Comments
Yes, that would be great! Sorry for the delay in replying. I only just saw this comment. We are currently discussing a re-merge of projects since the initial goal of independent maintainers was never realized, and that should help with managing issues better. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the
HtmlMediaTypeViewformatter
should not try to serialize theHttpError
type and leave it to other formatters (maybe the default ones) to deal with this.Another option would be to provide an 'out-of-the-box' view for HttpError, which would display nicely the errors in the same fashion the MVC projects.
This is to avoid creating a boilerplate HttpError view for every project suing the html formatter. I can work on this, but I'd like to hear your input first before getting started.
Thanks!
The text was updated successfully, but these errors were encountered: