Skip to content

Class-level headers from inherited class#276

Merged
codefromthecrypt merged 1 commit into
OpenFeign:masterfrom
stromnet:inherited-headers
Sep 29, 2015
Merged

Class-level headers from inherited class#276
codefromthecrypt merged 1 commit into
OpenFeign:masterfrom
stromnet:inherited-headers

Conversation

@stromnet

Copy link
Copy Markdown
Contributor

Before, class annotations was only looked at if the method was declared in the parent interface. If method was declared in main interface, parent class was not looked at.

Adds more useful functionality to my prev pull req #266.

@cloudbees-pull-request-builder

Copy link
Copy Markdown

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

@cloudbees-pull-request-builder

Copy link
Copy Markdown

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

@codefromthecrypt

Copy link
Copy Markdown

Looks good. mind squashing the commits?

Thanks for the help on making it more intuitive. I like that you managed this w/o any new lines in src/main

…claring class

Relates to OpenFeign#266, adds support to have @Header on the parent interface too
@stromnet

Copy link
Copy Markdown
Contributor Author

Squashed!

How do you mean no new lines in src/main? There was some, although minor, changes.

@codefromthecrypt

Copy link
Copy Markdown

@stromnet only new line in src/main was an accidental newline. good tests are always welcome.

@cloudbees-pull-request-builder

Copy link
Copy Markdown

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

@stromnet

Copy link
Copy Markdown
Contributor Author

Ah.. yeah, only one new line (though some changed). You're welcome!

codefromthecrypt pushed a commit that referenced this pull request Sep 29, 2015
Class-level headers from inherited class
@codefromthecrypt codefromthecrypt merged commit 01d3495 into OpenFeign:master Sep 29, 2015
@stromnet

stromnet commented Oct 6, 2015

Copy link
Copy Markdown
Contributor Author

Would you mind creating a new release? Thanks!

@codefromthecrypt

codefromthecrypt commented Oct 7, 2015 via email

Copy link
Copy Markdown

@stromnet

stromnet commented Oct 9, 2015

Copy link
Copy Markdown
Contributor Author

Thanks, works great!

velo pushed a commit that referenced this pull request Oct 8, 2024
Class-level headers from inherited class
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