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

split the value encoder and the error encoder #128

Merged
merged 3 commits into from
Oct 26, 2018
Merged

split the value encoder and the error encoder #128

merged 3 commits into from
Oct 26, 2018

Conversation

Stebalien
Copy link
Member

Only use custom encoders for values.

fixes #65

Also, remove SetEncoder. Always derive the correct encoder from the request.


This still sucks but is the best fix I can come up with given that this library makes no distinction between errors and values at the transport layer.

Only use custom encoders for values.

fixes #65

Also, remove SetEncoder. Always derive the correct encoder from the request.
Copy link
Member

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say it looks like it makes things strictly better than what we have

@Stebalien Stebalien merged commit 6c60fc4 into master Oct 26, 2018
@Stebalien Stebalien deleted the fix/65 branch October 26, 2018 11:05
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.

MakeTypedEncoder breaks when using re.SetError
2 participants