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 <7372858+nzig@users.noreply.github.com> * ✅ 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 <tiangolo@gmail.com> Co-authored-by: Nadav Zingerman <7372858+nzig@users.noreply.github.com>pull/9388/head
committed by
GitHub
2 changed files with 45 additions and 3 deletions
Loading…
Reference in new issue