Browse Source
* Fix: copy FieldInfo from Annotated arguments We need to copy the field_info to prevent ourselves from mutating it. This allows multiple path or nested routers ,etc. * 📝 Add comment in fastapi/dependencies/utils.py Co-authored-by: Nadav Zingerman <[email protected]> * ✅ Extend and tweak tests for Annotated * ✅ Tweak coverage, it's probably covered by a different version of Python --------- Co-authored-by: Sebastián Ramírez <[email protected]> Co-authored-by: Nadav Zingerman <[email protected]>pull/9388/head
committed by
GitHub
2 changed files with 45 additions and 3 deletions
Loading…
Reference in new issue