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

Refactored Header and Query parameter JAXRS Contract Parsing #896

Merged

Conversation

kdavisk6
Copy link
Member

@kdavisk6 kdavisk6 commented Feb 6, 2019

Fixes #890

As part of 10.x, the headers() and queries() collections on the
RequestTemplate were made read only. The JAXRSContract was still
attempting to manipulate those directly. This was missed due to a
use case not accounted for in the tests. I've added the appropriate
use case and corrected the usage of the template.

As part of 10.x, the `headers()` and `queries()` collections on the
`RequestTemplate` were made read only.  The `JAXRSContract` was still
attempting to manipulate those directly.  THis was missed due to a
use case not accounted for in the tests.  I've added the appropriate
use case and corrected the usage of the template.
@kdavisk6 kdavisk6 added bug Unexpected or incorrect behavior regression Bugs and issues related to unintended breaking changes labels Feb 6, 2019
@kdavisk6 kdavisk6 closed this Feb 6, 2019
@kdavisk6 kdavisk6 deleted the gh-890-jaxrs-contract-parameter-violation branch February 6, 2019 19:36
@kdavisk6 kdavisk6 restored the gh-890-jaxrs-contract-parameter-violation branch February 6, 2019 19:38
@kdavisk6 kdavisk6 reopened this Feb 6, 2019
@kdavisk6 kdavisk6 merged commit 8af587e into OpenFeign:master Feb 12, 2019
@kdavisk6 kdavisk6 deleted the gh-890-jaxrs-contract-parameter-violation branch February 12, 2019 22:25
velo pushed a commit that referenced this pull request Oct 7, 2024
As part of 10.x, the `headers()` and `queries()` collections on the
`RequestTemplate` were made read only.  The `JAXRSContract` was still
attempting to manipulate those directly.  THis was missed due to a
use case not accounted for in the tests.  I've added the appropriate
use case and corrected the usage of the template.
velo pushed a commit that referenced this pull request Oct 8, 2024
As part of 10.x, the `headers()` and `queries()` collections on the
`RequestTemplate` were made read only.  The `JAXRSContract` was still
attempting to manipulate those directly.  THis was missed due to a
use case not accounted for in the tests.  I've added the appropriate
use case and corrected the usage of the template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected or incorrect behavior regression Bugs and issues related to unintended breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant