Skip to content

Conversation

@davidhewitt
Copy link
Contributor

Change Summary

This moves Extra inside of SerializationState, completing the refactoring I started with #1857, and now matching the validation code where it's &mut State which is passed around the place.

Another reduction in LOC and complexity 🎉

Related issue number

N/A

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 27, 2025

CodSpeed Performance Report

Merging #1863 will not alter performance

Comparing dh/ser-state-extra (493fb0c) with main (f892755)

Summary

✅ 163 untouched

@davidhewitt davidhewitt requested a review from Viicos October 27, 2025 19:28
@davidhewitt
Copy link
Contributor Author

Will proceed to merge and move forwards.

@davidhewitt davidhewitt merged commit e1aa528 into main Oct 29, 2025
32 checks passed
@davidhewitt davidhewitt deleted the dh/ser-state-extra branch October 29, 2025 11:24
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