Motov Yurii
Motov Yurii
One last thing is missing: we need to clarify that this method (with `BeforeValidator`) will only work with Pydantic V2.
> Hi @YuriiMotov 👋 Just wanted to check if this PR is now queued for merge. No rush at all , just noticed that all checks have passed and it's...
Duplicate of: https://github.com/fastapi/fastapi/pull/12972
> Hi @YuriiMotov happy to help with the testing of the examples; for my understanding, which examples are you referring to? Great! We need to test all 3 approaches described...
There is a problem with the third approach (**Using `X-Forwarded-Prefix` header**) - FastAPI uses cache for openapi schema, and `servers` property will only contain the server that corresponds to the...
> I'm unsure about this. 🤔 > > I wouldn't expect people to create Pydantic models where the fields are declared with something other than Pydantic's regular `Field()`. I wouldn't...
Closing this as explained [here](https://github.com/fastapi/fastapi/pull/14343#issuecomment-3600534954) and [here](https://github.com/fastapi/fastapi/pull/14358#discussion_r2607250726)
> Instead of modifying `app.post()` method, maybe it should be a part of annotation? I think this is a bit different.. In my implementation `max_field`, `max_files` and `max_part_size` are used...
@mikeedjones, thank you! I see that was a lot of work.. > Maybe worth waiting to after fastapi deprecates pydantic-v1 support? I haven't reviewed the changes in-depth yet, but I...
I think we don't need to do it. See: https://github.com/fastapi/fastapi/issues/13471#issuecomment-3596388412