Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

move extra inside of state #1863

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
davidhewitt merged 1 commit into main from dh/ser-state-extra
Oct 29, 2025
Merged

move extra inside of state #1863

davidhewitt merged 1 commit into main from dh/ser-state-extra
Oct 29, 2025

Conversation

@davidhewitt
Copy link
Contributor

@davidhewitt davidhewitt commented Oct 27, 2025

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

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

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

Reviewers

@Viicos Viicos Awaiting requested review from Viicos

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /