Skip to content

Commit 59b83ab

Browse files
committed
docs(objectql): state the fixed condition beside defaultCurrency in the currency features list
The currency-mode closure pin requires every taught defaultCurrency to carry its fixed condition in the same sentence. Claude-Session: https://claude.ai/code/session_01Utp6CYWaabH6fd31U9CyS7 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 99d7b8b commit 59b83ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/docs/protocol/objectql/types.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ been removed from the spec.
335335
**Features:**
336336
- `currencyMode: dynamic | fixed | record`; a `defaultCurrency` code on the
337337
field under `fixed`, a `currencyField` pointer under `record`
338-
- A `defaultCurrency` code is validated by **length only** (3 characters), so
338+
- A `fixed` field's `defaultCurrency` code is validated by **length only** (3 characters), so
339339
ISO 4217 (`USD`, `EUR`, `CNY`) and non-ISO codes (`BTC`, `ETH`) both pass. A
340340
record's code is judged by its field's `valueDomain: iso_4217_currency`, so
341341
only ISO 4217 codes pass there

0 commit comments

Comments
 (0)