Skip to content

Fix ValidationInfo.field_name missing with model_validate_json()#13084

Merged
Viicos merged 1 commit intomainfrom
vp/validate-json-field-name
Apr 16, 2026
Merged

Fix ValidationInfo.field_name missing with model_validate_json()#13084
Viicos merged 1 commit intomainfrom
vp/validate-json-field-name

Conversation

@Viicos
Copy link
Copy Markdown
Member

@Viicos Viicos commented Apr 16, 2026

Change Summary

Fixes #13074 (comment).

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@Viicos Viicos requested a review from davidhewitt April 16, 2026 07:24
@Viicos Viicos added relnotes-fix Used for bugfixes. backport-2.13 Needs backport to 2.13 labels Apr 16, 2026
@Viicos Viicos force-pushed the vp/validate-json-field-name branch from a170acb to 308c279 Compare April 16, 2026 07:24
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 16, 2026

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 308c279
Status: ✅  Deploy successful!
Preview URL: https://0a0d2a1a.pydantic-docs.pages.dev
Branch Preview URL: https://vp-validate-json-field-name.pydantic-docs.pages.dev

View logs

@Viicos Viicos enabled auto-merge (squash) April 16, 2026 07:30
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 16, 2026

Merging this PR will not alter performance

✅ 215 untouched benchmarks


Comparing vp/validate-json-field-name (308c279) with main (b7e81cf)

Open in CodSpeed

@github-actions
Copy link
Copy Markdown
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@Viicos Viicos merged commit a6bf50b into main Apr 16, 2026
77 checks passed
@Viicos Viicos deleted the vp/validate-json-field-name branch April 16, 2026 07:38
Viicos added a commit that referenced this pull request Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-2.13 Needs backport to 2.13 relnotes-fix Used for bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing ValidationInfo data using model_validate_json with v2.13.0

2 participants