Commit 2756e07
docs(api): INVALID_FIELD's searchFields clause covers the two value-shape refusals (#16269)
The searchFields parenthetical in the INVALID_FIELD Cause only described the
"real field outside the searchable set" refusal. It did not cover the two
shape refusals raised by assertSearchFieldsAreSearchable (an array entry that
is not a string, and a value that is neither a comma-separated string nor an
array) — both of which throw the same code/status/param, just on a different
axis of the value. This is a coverage gap in one clause of the Cause text, not
a second meaning for the code (#15882).
Claude-Session: https://claude.ai/code/session_01Vbw3RPgdtqesx4azk9SbW8
Co-authored-by: Claude <noreply@anthropic.com>1 parent 6c96144 commit 2756e07
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
0 commit comments