Skip to content

Conversation

lig
Copy link
Contributor

@lig lig commented Jul 12, 2023

Change Summary

Add support for json_schema_extra using Field on Root.root

Related issue number

Fix #6579

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 and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @dmontagu

@lig lig marked this pull request as ready for review July 12, 2023 13:35
@lig
Copy link
Contributor Author

lig commented Jul 12, 2023

please review

Copy link
Contributor

@dmontagu dmontagu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the suggested change to the error message, LGTM

@lig lig enabled auto-merge (squash) July 12, 2023 14:02
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 861254c
Status: ✅  Deploy successful!
Preview URL: https://170df6ff.pydantic-docs2.pages.dev
Branch Preview URL: https://lig-6579.pydantic-docs2.pages.dev

View logs

Co-authored-by: David Montague <35119617+dmontagu@users.noreply.github.com>
@lig lig merged commit 176714d into main Jul 12, 2023
@lig lig deleted the lig/6579 branch July 12, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field(json_schema_extra=...) is missing in schema with RootModel
2 participants