-
Notifications
You must be signed in to change notification settings - Fork 712
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
Support Error marshalling using application/problem+json content type #134
Comments
@dahankzter I have read the Spec. It seems Let me add a support, once its ready I will ping you. |
@dahankzter Just thought to clarify. I'm planning to add support for However resty only considers |
@dahankzter I have implemented it, available on branch add-support-for-rfc7807 Please give it try and let me know. |
I will test it as soon as possible. Having some dep problems now that go.uber.org is gone. |
No problem, take your time. What happened to go.uber.org? |
Some DNS issue over at Cloudflare is the current bet. |
The regex doesn't' seem to match Your test case seems to only assert that the Error is set which it is but not actually parsed and used but maybe I am wrong? |
Making the "problem+" a group seems to work |
@dahankzter Thank you, I have updated the regex and test case. Now it should be good. |
Excellent! What is your release policy? When can this go out? I use it in a real project and we decided to avoid specific commits and go with proper tags as given by the respective dependency. |
@dahankzter Typically bug fixes gets immediately released. Feature and enhancements are monthly. |
Ok great, I look forward to the next release! :) |
Merged to master 😄 |
@dahankzter FYI resty |
I just found out that Mailchimp uses this header which is unfortunate and unusual afaik but there is a spec: https://tools.ietf.org/html/rfc7807 that seems to define this.
It would be nice to be able to use the
SetError()
functionality.The text was updated successfully, but these errors were encountered: