You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The rendering reference now documents how generated enums are stored. Their numbers follow declaration order, so until Screenplay can give members fixed numbers (Cratis/Screenplay#643), only append new members, and never reorder or remove existing ones.
Fixed
The Stage Host can now rebuild its state from events whose enum values were stored as numbers, which is how Chronicle stores them for applications Stage renders. Before, rebuilding from those events failed. A number maps to the member at that position in the model, and declared member names still work. Out-of-range, fractional or undeclared values are refused rather than misread. (part of #296)