Skip to content

Add due_date field to Task model#21

Open
Mubashir78 wants to merge 2 commits into
Navashub:mainfrom
Mubashir78:feature/add-due-date
Open

Add due_date field to Task model#21
Mubashir78 wants to merge 2 commits into
Navashub:mainfrom
Mubashir78:feature/add-due-date

Conversation

@Mubashir78

Copy link
Copy Markdown

Add field (nullable Date) to the Task model, schemas, and related CRUD operations.

- Fix missing return statement in update_user endpoint
- Fix CORS misconfiguration (specific origins instead of wildcard)
- Add duplicate email validation with 409 response
- Add foreign key validation for task owner_id with 400 response
- Add IntegrityError handling with rollback
- Add status codes for create endpoints (201)
- Add Query validation with bounds for pagination params
- Add 19 tests covering all CRUD operations and edge cases
- Add pytest and httpx dev dependencies
- Add CI workflow using astral-sh/setup-uv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant