You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Add missing group_id to RecipeTag and TagBase schemas
Resolves API errors (TypeError/IntegrityError) when updating recipe tags.
The RecipeTag and TagBase Pydantic schemas lacked the group_id field,
causing it to be stripped during API validation. This prevented the
Tag database model, which requires group_id for initialization,
from being processed correctly during recipe updates (PATCH) or
bulk tag actions, leading to errors.
This commit adds the optional group_id field to these schemas to
ensure consistency with the database model requirements.
0 commit comments