Skip to content

Commit 40758ef

Browse files
committed
docs(error-catalog): say the field format key runs no check on any type
Outside `autonumber` the key is a display hint and on `autonumber` it is the record-number pattern, so 'a display hint the server never checks' was only right for most types; what holds for every type is that no write-time check reads it. Claude-Session: https://claude.ai/code/session_01VDtqoecgES7ScQYGbFVDRv Co-authored-by: Claude <noreply@anthropic.com>
1 parent d56a2a7 commit 40758ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/docs/api/error-catalog.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ A value that misses a declared `pattern` outside record metadata (a settings val
211211
body a route parses with Zod) also answers field-level `invalid_format`.
212212
**Fix:** Do not branch on this code; branch on `VALIDATION_FAILED` + `fields[].code`. To change
213213
what a field accepts, change its `type` or the `format` validation rule — a field-level `format`
214-
key is a display hint the server never checks, so editing it changes nothing.
214+
key runs no write-time check on any field type, so editing it changes nothing.
215215
**Retry:** `no_retry`
216216

217217
### `VALUE_TOO_LONG`

0 commit comments

Comments
 (0)