E52C Makes body parameter type explicit by codefromthecrypt · Pull Request #155 · OpenFeign/feign · GitHub
[go: up one dir, main page]

Skip to content

Makes body parameter type explicit#155

Merged
codefromthecrypt merged 1 commit intomasterfrom
adrian.control-body-encoding
Jan 31, 2015
Merged

Makes body parameter type explicit#155
codefromthecrypt merged 1 commit intomasterfrom
adrian.control-body-encoding

Conversation

@codefromthecrypt
Copy link
Contributor

Feign has MethodMetadata.bodyType(), but never passed it to encoders.
Encoders that register type adapters need to do so based on the
interface desired as opposed to the implementation class. This change
breaks api compatibility for < 8.x, by requiring an additional arg
on Encoder.encode.

see square/retrofit#713

Feign has `MethodMetadata.bodyType()`, but never passed it to encoders.
Encoders that register type adapters need to do so based on the
interface desired as opposed to the implementation class. This change
breaks api compatibility for < 8.x, by requiring an additional arg
on `Encoder.encode`.

see square/retrofit#713
Copy link
Contributor Author

Choose a reason for hiding this comment

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

lots of reformatting on jaxb as the inconsistent indent was driving me bonkers.

@cloudbees-pull-request-builder

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

codefromthecrypt pushed a commit that referenced this pull request Jan 31, 2015
@codefromthecrypt codefromthecrypt merged commit 69aa98f into master Jan 31, 2015
@codefromthecrypt codefromthecrypt deleted the adrian.control-body-encoding branch January 31, 2015 21:22
velo pushed a commit that referenced this pull request Oct 8, 2024
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

0