Skip to content

chore(toolbox-core): deprecate add_headers feature #278

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

Merged
merged 12 commits into from
Jun 11, 2025

Conversation

twishabansal
Copy link
Contributor

@twishabansal twishabansal commented Jun 10, 2025

We only want to allow users to add headers during client initialization. There is no clear intended behaviour for the headers.
Users are expected to use a client to connect to a single toolbox server. So, adding client_headers during Client initialization is the simpler path that avoids confusion.
So, we remove the add_headers method.

@twishabansal twishabansal changed the title chore!: remove addHeaders feature chore(toolbox-core)!: remove addHeaders feature Jun 10, 2025
@twishabansal twishabansal requested a review from anubhav756 June 10, 2025 15:12
@twishabansal twishabansal marked this pull request as ready for review June 10, 2025 15:12
@twishabansal twishabansal requested a review from a team as a code owner June 10, 2025 15:12
@twishabansal twishabansal changed the title chore(toolbox-core)!: remove addHeaders feature chore(toolbox-core)!: remove add_headers feature Jun 10, 2025
@twishabansal twishabansal changed the title chore(toolbox-core)!: remove add_headers feature chore(toolbox-core): deprecate add_headers feature Jun 11, 2025
anubhav756
anubhav756 previously approved these changes Jun 11, 2025
@twishabansal twishabansal requested a review from anubhav756 June 11, 2025 06:25
anubhav756
anubhav756 previously approved these changes Jun 11, 2025
Copy link
Contributor

@anubhav756 anubhav756 left a comment

Choose a reason for hiding this comment

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

LGTM (the presubmit failures seem to be benign)

@twishabansal
Copy link
Contributor Author

LGTM (the presubmit failures seem to be benign)

Fixed the tests

@twishabansal twishabansal requested a review from anubhav756 June 11, 2025 08:16
anubhav756
anubhav756 previously approved these changes Jun 11, 2025
@twishabansal twishabansal merged commit 65c8b10 into main Jun 11, 2025
19 checks passed
@twishabansal twishabansal deleted the twisha-remove-add-headers-method branch June 11, 2025 18:39
@release-please release-please bot mentioned this pull request Jun 11, 2025
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