Skip to content

Revise McpSchema to deprecate public constructor in favor of builder method#1056

Open
quaff wants to merge 1 commit into
modelcontextprotocol:mainfrom
quaff:patch-17
Open

Revise McpSchema to deprecate public constructor in favor of builder method#1056
quaff wants to merge 1 commit into
modelcontextprotocol:mainfrom
quaff:patch-17

Conversation

@quaff

@quaff quaff commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Motivation and Context

Make the code consistent.

How Has This Been Tested?

Tests is not required since this PR just deprecate some API.

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

…method

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
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.

1 participant