bcgov / bcgov/kirk

Job label should be unique

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.