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

Accept headers + ToResponseCode #65

Merged
merged 28 commits into from
Sep 19, 2014
Merged

Accept headers + ToResponseCode #65

merged 28 commits into from
Sep 19, 2014

Conversation

bergmark
Copy link
Member

This is several bug fixes, and needs breaking changes in rest-types, rest-core, and rest-gen. I need to test this more thoroughly and clean it up before releasing it. Hopefully also write some automated regression tests.

The most important fixes are for these issues:

  • The deserialization for DomainReason is partial (always contains an error instead of the response code function)
  • Accept headers and conversion functions based on the available output/error types are not correctly set for errors in generated clients (both Haskell and JS) and leads to runtime errors

@bergmark
Copy link
Member Author

Except for the testing part, I think I'm done for now. Would appreciate a code review!

@bergmark bergmark merged commit 33f4990 into master Sep 19, 2014
@bergmark bergmark deleted the accept-headers branch September 19, 2014 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant