Repository navigation
Release v4.92.0
Summary
Rendered event sources now keep their model names readable in code. Tools that read a rendered application back into a Screenplay model can then recover from Account.Notes and routes instead of only the stored names.
Changed
- An event source whose model name is a PascalCase identifier renders as
{Name}EventSource. Each stream with such a name becomes a public constant on that class holding its stored name, and every stream reference uses that constant:EventStreamattributes, command stream attributes, reducer and reactorfromfilters, and generated specification routes. Chronicle sees exactly the same stored names as before. Other names render as before. (#368) - A stream constant that would collide with another member or a C# keyword fails
STAGE-ESM-012. (#368) - The renderer guide and rendering reference warn that renaming an event in a model that already has stored data renames its Chronicle event type, until Screenplay carries the stored event name. (#368)