Skip to content

Conversation

dmontagu
Copy link
Contributor

This change makes it so that fastapi/fastapi#9943 passes all tests.

Basically, the new FieldInfo merging logic doesn't necessarily play nice with arbitrary subclasses of FieldInfo. This change makes it so that the merging logic is a essentially a no-op when not necessary, resolving the issues with new FastAPI.

@cloudflare-workers-and-pages
Copy link

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

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ccc560b
Status: ✅  Deploy successful!
Preview URL: https://b0611b1c.pydantic-docs2.pages.dev
Branch Preview URL: https://skip-merging-if-unnecessary.pydantic-docs2.pages.dev

View logs

@adriangb adriangb enabled auto-merge (squash) July 25, 2023 22:16
@adriangb adriangb disabled auto-merge July 25, 2023 22:16
@dmontagu dmontagu enabled auto-merge (squash) July 25, 2023 22:33
@dmontagu dmontagu mentioned this pull request Jul 25, 2023
1 task
@dmontagu dmontagu merged commit d9d4750 into main Jul 25, 2023
@dmontagu dmontagu deleted the skip-merging-if-unnecessary branch July 25, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants