[GH-ISSUE #146] enhancement(config): expose max-size violations in parseStringArray failures #92

Closed
opened 2026-10-15 18:21:03 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @morluto on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/146

Description

parseStringArray reports a generic "must encode an array of strings" message for Zod failures, including max-length violations.

Impact

Users lose actionable feedback when configured arrays exceed allowed size.

Expected behavior

Differentiate size-limit failures and return explicit, user-facing diagnostics.

Files

  • src/config.ts (around lines 82-97)
Originally created by @morluto on GitHub (Jul 14, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/146 ## Description `parseStringArray` reports a generic "must encode an array of strings" message for Zod failures, including max-length violations. ## Impact Users lose actionable feedback when configured arrays exceed allowed size. ## Expected behavior Differentiate size-limit failures and return explicit, user-facing diagnostics. ## Files - `src/config.ts` (around lines 82-97)
bsakaguchi 2026-10-15 18:21:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#92
No description provided.