Configuration and time · rule
type.presentation_text_persistence
Formatted text is stored.
Area 10, Configuration and time; not declinable; the next step is usually the agent's.
entity Receipt { id: Uuid issued_label: PresentationText}
error: `Receipt.issued_label` would store text formatted for a person --> main.jadpo:3:19 |3 | issued_label: PresentationText | ^^^^^^^^^^^^^^^^ `PresentationText`, stored reason: `Receipt.issued_label` holds `PresentationText`: text in one reader's language and zone, which another reader, a change of locale or a correction to the zone database would show differently, and which can't be read back as a time. A record keeps the value itself and formats it when it is shown. next: Store the `Instant`, `CalendarDate` or `ZonedTime` instead, and format `Receipt.issued_label` in the output that shows it (agent) rule: type.presentation_text_persistence help: https://jadpo.dev/docs/errors/type.presentation_text_persistencecheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.presentation_text_persistence.md.Built from Jadpo main at a707efb.