Skip to content

refactor: change Protocol's Serialize and Deserialize to use standard values #2765

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

davidhewitt
Copy link

Follow up from #2758

Changes

As noted in the above PR, the current implementation of Serialize and Deserialize for protocol will emit the enum name as it is read in source code. I propose it would be better to match the standard values in the spec, especially if #2758 is merged.

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

Sorry, something went wrong.

…andard values

BREAKING CHANGE: users depending on the previous values (or having saved them) may observe the change
@davidhewitt davidhewitt changed the title change Protocol's Serialize and Deserialize to use standard values refactor: change Protocol's Serialize and Deserialize to use standard values Mar 6, 2025
Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.6%. Comparing base (b33f0cc) to head (5aaf22c).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #2765   +/-   ##
=====================================
  Coverage   79.6%   79.6%           
=====================================
  Files        123     123           
  Lines      23034   23044   +10     
=====================================
+ Hits       18356   18366   +10     
  Misses      4678    4678           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

None yet

1 participant