Skip to content

Release v4.92.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 11:17
eb3bf30

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: EventStream attributes, command stream attributes, reducer and reactor from filters, 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)