Commit 988c5a7
fix(filter): use default=[] instead of default_factory for search_fields
FastAPI Depends() passes the factory sentinel as raw value instead of
calling it, causing ValidationError on LinkFilter query param injection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9feee28 commit 988c5a7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments