Skip to content

Conversation

@gbl186
Copy link

@gbl186 gbl186 commented Jan 29, 2026

Added a small validator to fail fast on malformed market IDs.


Note

Low Risk
Low risk: adds a small, isolated utility with no behavioral changes elsewhere unless adopted by callers.

Overview
Adds a new src/utils/validateMarketId.ts helper that validates market IDs against a strict regex ([a-zA-Z0-9_-]{6,128}) and throws an error on invalid input to enable fail-fast checks.

Written by Cursor Bugbot for commit 9ba5ba1. This will update automatically on new commits. Configure here.

Added a small validator to fail fast on malformed market IDs.
@gbl186 gbl186 requested a review from a team as a code owner January 29, 2026 18:38
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