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
Fix Secret
serialization schema, applicable for unions
#9240
Conversation
Please review |
Deploying pydantic-docs with Cloudflare Pages
|
CodSpeed Performance ReportMerging #9240 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix here seems a bit magical to me, can you give a bit more detail on why the original schema was wrong? I wonder if there's a deeper bug or otherwise awkward behaviour...
I think there's a deeper bug, that the serialization attached to the individual Will report this in core. |
Opened an issue here to address that bug in core, but this should work for now. Here's that issue: pydantic/pydantic-core#1270 |
Fix #9231
Selected Reviewer: @hramezani