Skip to content

Conversation

@SimY4
Copy link
Contributor

@SimY4 SimY4 commented Jul 24, 2019

When a misconfigured error happens, NO_DEFAULT exception gives no clue on what went wrong. You have to always provide more meaningful default. This change will at least make sure you know what status response had when on the moment of error.

/**
* For backward compatibility.
*/
@Deprecated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not straight out delete it? Just wondering if anyone outside of the annotation-error-decoder actually explicitly uses NO_DEFAULT... (which would be weird to me)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem. I wasn't sure about the policy of introducing breaking changes. Removed this constructor entirely.

@saintf
Copy link
Collaborator

saintf commented Jul 25, 2019

The build seems to have failed because of formatting - can you check on the build if files get modified (so that you can get them to do proper formatting and the build won't fail?)

image

@saintf saintf merged commit eb77215 into OpenFeign:master Aug 27, 2019
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.

2 participants