Skip to content

feat(validation): reject empty/whitespace-only channel names — closes #479 - #539

Open
kitWarse wants to merge 1 commit into
Core-Foundry:mainfrom
kitWarse:feature/479-reject-empty-channel-names
Open

feat(validation): reject empty/whitespace-only channel names — closes #479#539
kitWarse wants to merge 1 commit into
Core-Foundry:mainfrom
kitWarse:feature/479-reject-empty-channel-names

Conversation

@kitWarse

Copy link
Copy Markdown

Closes #479

Changes

  • �atch-validator.ts — exported �alidateChannelName() with EMPTY_CHANNEL_NAME error code for null/empty/whitespace-only channel names; BatchValidator now routes through it
  • �atch-validator.test.ts — unit tests for empty/whitespace-only channel rejection + full �alidateChannelName describe block
  • API_ERROR_REFERENCE.md — added EMPTY_CHANNEL_NAME to the batch validation error codes table

Acceptance Criteria

Empty names are rejected '' → EMPTY_CHANNEL_NAME
Whitespace-only rejected ' ' → EMPTY_CHANNEL_NAME
Validation is documented API_ERROR_REFERENCE.md updated
Unit tests are added alidateChannelName describe block + BatchValidator test

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@kitWarse Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Prevent Empty Channel Names

1 participant