-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Regression: No ParameterResolver
registered for org.apache.http.HttpRequest
#1481
Comments
With 4.3.0 the Apache HTTP client has been upgraded to 5, which has different interfaces and classes. But as you probably only need to use it to set headers, supporting it makes sense. |
Just a note that the new interface is now |
I see. Thanks for the feedback. So possibly all that is needed is a documentation update and a migration guide. |
Migration doc is there already https://github.com/pact-foundation/pact-jvm/blob/master/upgrade-to-4.3.x.md, I'll update the docs. |
4.3.1 released which will allow you to use |
Thanks! |
We are currently testing the new 4.3.0 release and discovered a regression in the JUnit 5 integration: There is no longer a
ParameterResolver
registered for theorg.apache.http.HttpRequest
type. Thus a test method can no longer declare aHttpRequest
parameter as described in the documentation:Looking at the history it looks like this would work if the parameter were declared as of type
ClassicHttpRequest
, but this is a subtype ofHttpRequest
and I assume this was refactored by accident.The text was updated successfully, but these errors were encountered: