Skip to content
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 bug in dataclass fields using Annotated #6970

Closed
wants to merge 2 commits into from

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Jul 31, 2023

Fixes #6962

Selected Reviewer: @lig

@adriangb
Copy link
Member Author

please review

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 827c033
Status: ✅  Deploy successful!
Preview URL: https://eb243d25.pydantic-docs2.pages.dev
Branch Preview URL: https://fix-dataclass-annotated.pydantic-docs2.pages.dev

View logs

@davidhewitt
Copy link
Contributor

@adriangb I think #6998 may be a better fix? 😄

@davidhewitt davidhewitt closed this Aug 2, 2023
@davidhewitt davidhewitt deleted the fix-dataclass-annotated branch August 2, 2023 19:35
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.

BeforeValidator runs twice in case when dataclass
3 participants