Skip to content

added ErrorDecoder example with nested Decoder#195

Merged
codefromthecrypt merged 1 commit into
OpenFeign:masterfrom
molindo:github-error-example
Feb 25, 2015
Merged

added ErrorDecoder example with nested Decoder#195
codefromthecrypt merged 1 commit into
OpenFeign:masterfrom
molindo:github-error-example

Conversation

@sfussenegger

Copy link
Copy Markdown
Contributor

as discussed in #194

@cloudbees-pull-request-builder

Copy link
Copy Markdown

NetflixOSS » feign » feign-pull-requests #65 SUCCESS
This pull request looks good

@cloudbees-pull-request-builder

Copy link
Copy Markdown

NetflixOSS » feign » feign-pull-requests #66 SUCCESS
This pull request looks good

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

would be neat if this could extend RuntimeException, that would save some boilerplate in the example.. is that possible to make without gson getting complicated?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

noto sure about gson. with jackson it would be just about annotating the constructor. but the JacksonDecoder needs some configuration as it won't use non-public fields by default.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I already had a quick shot at it without success. I haven't had the time to go into details though.

@codefromthecrypt

Copy link
Copy Markdown

Looks good. can you squash into a single commit with the following message

adds ErrorDecoder example with nested Decoder

I know.. added vs adds :)

Just that "this commit " + works better with that tense.

@sfussenegger

Copy link
Copy Markdown
Contributor Author

done

@cloudbees-pull-request-builder

Copy link
Copy Markdown

NetflixOSS » feign » feign-pull-requests #67 SUCCESS
This pull request looks good

codefromthecrypt pushed a commit that referenced this pull request Feb 25, 2015
added ErrorDecoder example with nested Decoder
@codefromthecrypt codefromthecrypt merged commit cc3dd37 into OpenFeign:master Feb 25, 2015
@codefromthecrypt

Copy link
Copy Markdown

Thanks!

@sfussenegger sfussenegger deleted the github-error-example branch February 23, 2016 10:16
velo pushed a commit that referenced this pull request Oct 8, 2024
added ErrorDecoder example with nested Decoder
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.

3 participants