Skip to content

GH-3807: Use builder pattern instead of deprecated constructors in class McpToolUtils #3808

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

codeboyzhou
Copy link

As the title described, this PR was created to solve issue #3807, please refer to the issue for more details.

Copy link
Contributor

@sunyuhan1998 sunyuhan1998 left a comment

Choose a reason for hiding this comment

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

please sign off your commit to comply with the DCO. everything else looks good to me!

…structors

- Update SyncToolSpecification creation to use builder pattern
- Update AsyncToolSpecification creation to use builder pattern
- Improve code readability and maintainability

Signed-off-by: codeboyzhou <[email protected]>
@codeboyzhou codeboyzhou force-pushed the refactor-replace-deprecated-methods branch from 7f0783e to d712c96 Compare July 14, 2025 05:50
@codeboyzhou
Copy link
Author

please sign off your commit to comply with the DCO. everything else looks good to me!

Thank you for the reminder. It's already done. I will remember next time.

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