Job label should be unique
Open
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Tried creating the unique constraint on the model but it creates problems with the job serializer. Could be that need to implement a uniquevalidator in the serializer. Removed the unique constraint from the model for now.
Contributor guide
Research direction
Locate the job model and job serializer, then trace how duplicate labels are currently handled. Compare model uniqueness with serializer validation; done means duplicate job labels are rejected without breaking job serialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100