Skip to content

Conversation

sydney-runkle
Copy link
Contributor

@sydney-runkle sydney-runkle commented Oct 13, 2023

Change Summary

Fix bug where default values in json schema were sorted out of field order

Fix #7580

  • 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

Selected Reviewer: @adriangb

@sydney-runkle sydney-runkle added the relnotes-fix Used for bugfixes. label Oct 13, 2023
@sydney-runkle
Copy link
Contributor Author

Please review 😄

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: faa970b
Status: ✅  Deploy successful!
Preview URL: https://618a9730.pydantic-docs2.pages.dev
Branch Preview URL: https://fix-schema-sorting-fields-bu.pydantic-docs2.pages.dev

View logs

@sydney-runkle sydney-runkle merged commit 2ace8cb into main Oct 13, 2023
@sydney-runkle sydney-runkle deleted the fix-schema-sorting-fields-bug branch October 13, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Order of keys differs in schema output
2 participants