Summary
The creator ID path param must be a positive integer. Non-numeric values, floats, and negative numbers should return 400 before any database query runs. An integration test should confirm this validation fires correctly.
Scope
- Call
GET /creators/:id/holders with: a non-numeric string, a float, a negative number, and zero
- Assert each returns 400 with a descriptive error
- Assert a valid positive integer proceeds to the database layer
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The creator ID path param must be a positive integer. Non-numeric values, floats, and negative numbers should return 400 before any database query runs. An integration test should confirm this validation fires correctly.
Scope
GET /creators/:id/holderswith: a non-numeric string, a float, a negative number, and zeroAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram