0804944647ca3503edf1b1ba1487b8b037a2741b
The hub UI sends folderId='' when the user picks "root-only" in the folder sidebar. The Zod validator was accepting it as a string and the service then ran eq(folderId, '') instead of isNull(folderId), returning zero results. Adding a .transform on folderId converts empty string to null at the boundary so the service receives the expected nullable shape. Pre- existing bug from Wave 11.B that the hub rebuild made more visible. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
98.7%
HTML
1%
CSS
0.1%
Shell
0.1%