Correction.
A correction of a fact already written: it names the fact it replaces and why, so a read as of a date before it still shows the old fact and a reader of the stream tells a new fact from a corrected one; the fact corrected no longer stands
Figure 1Correctionspecified
- kind
- fact
- scope
- follows
- key
- the fact it replaces
- store
- postgres
- family
- record
Fields#
| field | type | required | note |
|---|---|---|---|
replaces | id | yes | the id of the fact corrected |
kind | text | yes | the kind of the fact corrected |
reason | text | yes | why it no longer stands, in plain words |
rule | text | no | the rule the correction applies, where one does |
Routes that use it#
No route takes or returns Correction directly. The record holds it, and the objects that point at it reach it.