Skip to content

Align post error messaging and enforce post language#3

Open
ezedeem223 wants to merge 1 commit intomainfrom
codex/clean-and-refactor-backend-code
Open

Align post error messaging and enforce post language#3
ezedeem223 wants to merge 1 commit intomainfrom
codex/clean-and-refactor-backend-code

Conversation

@ezedeem223
Copy link
Copy Markdown
Owner

Summary

  • add an explicit language column to posts and expose it through the Pydantic schema
  • adjust post error responses and translation helpers so edge-case expectations match the API contract
  • rely on the database uniqueness constraint for user creation to surface duplicate email integrity errors

Testing

  • pytest tests/test_auth.py -q
  • pytest tests/test_community.py -q --maxfail=1
  • pytest tests/test_settings.py tests/test_notifications_unit.py -q
  • pytest tests/test_edge_cases.py -q

https://chatgpt.com/codex/tasks/task_e_6904f66d70f883328f1196353605c453

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @ezedeem223, your pull request is larger than the review limit of 150000 diff characters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant