Skip to content

Conversation

eiriktsarpalis
Copy link
Member

I noticed that we're somewhat inconsistent in our use of classes vs. records. In lieu of a good reason to use records (promoting with expressions in immutable types, need for structural equality comparison) this PR is changing all records to being regular classes for consistency and reduced IL size.

@eiriktsarpalis eiriktsarpalis merged commit 47e6a64 into modelcontextprotocol:main May 30, 2025
7 checks passed
@eiriktsarpalis eiriktsarpalis deleted the convert-records branch May 30, 2025 14:34
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