fix(api): rename 'metadata' to 'response_metadata' to avoid Pydantic conflict
The field name 'metadata' conflicts with Pydantic's internal ClassVar. Renamed to 'response_metadata' throughout: - Backend: RoutineSuggestion, BatchSuggestion, ShoppingSuggestionResponse - Frontend: TypeScript types and component usages This fixes the AttributeError when setting metadata on SQLModel instances.
This commit is contained in:
parent
d00e0afeec
commit
c8fa80be99
20 changed files with 3802 additions and 23 deletions
1
.playwright-mcp/console-2026-02-27T15-02-26-634Z.log
Normal file
1
.playwright-mcp/console-2026-02-27T15-02-26-634Z.log
Normal file
|
|
@ -0,0 +1 @@
|
|||
[ 86ms] [ERROR] Failed to load resource: the server responded with a status of 404 (Not Found) @ http://localhost:5173/favicon.ico:0
|
||||
Loading…
Add table
Add a link
Reference in a new issue