Skip to content

Commit a1b3473

Browse files
committed
docs: 📚 Add note about installing with FastAPI support
1 parent 59074c6 commit a1b3473

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ async def return_http_422_on_async_validation_error():
185185
You may also use `ensure_request_validation_errors` to do additional validation on the request data using normal
186186
pydantic validation and converting those `ValidationError`s to `RequestValidationError`s. 😉
187187

188+
**Note:** When using FastAPI you should install `pydantic-async-validation` using
189+
`pip install pydantic-async-validation[fastapi]` to ensure FastAPI is installed in a compatible version.
190+
188191
# Contributing
189192

190193
If you want to contribute to this project, feel free to just fork the project,

0 commit comments

Comments
 (0)