Skip to content

fix: serializations to skip None Params #25

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 5 commits into from
Feb 17, 2025
Merged

Conversation

hashemix
Copy link
Member

📌 Summary

Resolved an issue where our custom serializer failed to skip optional parameters with a None value, resulting in invalid JSON with null that was rejected by MCP schema validation.

✨ Changes Made

  • Updated Serialize trait implementations to skip serializing Option params with None value

@hashemix hashemix self-assigned this Feb 17, 2025
@hashemix hashemix merged commit 1f67654 into main Feb 17, 2025
2 checks passed
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