View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007061 | Anastasis | reducer spec | public | 2021-11-02 10:53 | 2022-09-26 20:50 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.3.0 | Fixed in Version | 0.3.0 | ||
Summary | 0007061: all sum types should have a type/tag field to identify the arm | ||||
Description | Right now, the schema of the reducer makes mechanical validation rather hard, as there is no type/tag field for many sum types. Examples: * the reducer top-level (error vs backup vs recovery) * the authentication_provider (no info vs error vs okay) | ||||
Tags | No tags attached. | ||||
related to | 0007222 | closed | Christian Grothoff | authentication_providers should be properly tagged with status |
|
See 0007222 for authentication_providers. For the top-level state, I'd suggest: { reducer_type: "backup" | "recovery" | "error"; // only for backup reducers backup_state: "..."; // for recovery reducers recovery_state: "..."; } |
|
Fixed in the C reducer by Christian and in TypeScript by me. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-02 10:53 | Florian Dold | New Issue | |
2022-04-12 22:21 | Christian Grothoff | Relationship added | related to 0007222 |
2022-04-12 22:24 | Florian Dold | Note Added: 0018861 | |
2022-04-12 22:29 | Florian Dold | Note Edited: 0018861 | |
2022-04-12 22:46 | Florian Dold | Assigned To | => Florian Dold |
2022-04-12 22:46 | Florian Dold | Status | new => assigned |
2022-04-13 08:48 | Florian Dold | Status | assigned => resolved |
2022-04-13 08:48 | Florian Dold | Resolution | open => fixed |
2022-04-13 08:48 | Florian Dold | Note Added: 0018867 | |
2022-09-26 20:49 | Christian Grothoff | Fixed in Version | => 0.3.0 |
2022-09-26 20:49 | Christian Grothoff | Target Version | => 0.3.0 |
2022-09-26 20:50 | Christian Grothoff | Status | resolved => closed |