Skip to content

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Jun 30, 2023

This improves performance slightly by not always going through Python, but error messages actually get less intelligible.

skip change file check

Selected Reviewer: @dmontagu

This improves performance slightly by not always going through Python, but error messages actually get less intelligle
@cloudflare-workers-and-pages
Copy link

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

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5d97970
Status: ✅  Deploy successful!
Preview URL: https://e2e2e764.pydantic-docs2.pages.dev
Branch Preview URL: https://touch-up-decimal.pydantic-docs2.pages.dev

View logs

@adriangb adriangb force-pushed the touch-up-decimal branch from 76b8557 to d1eee58 Compare July 8, 2023 20:06
adriangb and others added 6 commits July 8, 2023 15:48
@adriangb
Copy link
Member Author

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.

Seems fine to me if there's a good performance improvement but we really need to fix these error messages. In particular, I think there should be a way to have a union schema where you don't get an error for every possible case, among other things, as is it seems painfully verbose. But that's not a problem introduced by this PR

@adriangb
Copy link
Member Author

Agreed!

@adriangb adriangb merged commit 5baac76 into main Jul 11, 2023
@adriangb adriangb deleted the touch-up-decimal branch July 11, 2023 19: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.

3 participants