Summary
Query parameters sent as empty strings such as search= are currently treated differently from omitted parameters, causing inconsistent filter behavior. A helper that coerces empty string values to undefined before validation ensures both forms are handled identically.
Scope
- add a helper that converts empty string query param values to undefined
- apply the helper before the query validation step for creator list and creator detail endpoints
- add a unit test confirming empty string and omitted params produce the same normalized result
Acceptance Criteria
- empty string query params are treated the same as omitted params after normalization
- a unit test confirms the coercion for at least three different param names
- non-empty string values are unaffected by the helper
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg
Summary
Query parameters sent as empty strings such as search= are currently treated differently from omitted parameters, causing inconsistent filter behavior. A helper that coerces empty string values to undefined before validation ensures both forms are handled identically.
Scope
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg