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

[HttpClient] Implement ResetInterface for all http clients #43985

Merged
merged 1 commit into from Nov 10, 2021

Conversation

rmikalkenas
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
License MIT

Result of discussion at #43972

Targeting 5.4 branch as I think its kind of a new feature without BC break

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

LGTM, just one note

@@ -133,6 +134,13 @@ public function request(string $method, string $url, array $options = []): Respo
});
}

public function reset()
Copy link
Member

Choose a reason for hiding this comment

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

I'd suggest moving the implementation to DecoratorTrait

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree, makes more sense. Will do changes...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done ✔️

@fabpot
Copy link
Member

fabpot commented Nov 10, 2021

Thank you @rmikalkenas.

@fabpot fabpot merged commit 82fed8e into symfony:5.4 Nov 10, 2021
@rmikalkenas rmikalkenas deleted the reset-interface branch November 10, 2021 10:57
This was referenced Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants