Skip to content

Release v22.44.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 16:34
6e431e5

Browse your application's event model from inside the running application. Screenplay documents are generated and embedded during the build, and an event-model explorer shows them as an interactive board.

Added

  • Cratis.Arc.Screenplay.Embedded package: generates Screenplay documents from your application during the build, organizes them into assembly, module and feature documents, and embeds them in the assembly. Source generators run first, so generated commands and queries are included, and Screenplay diagnostics are reported in the build with their severity. (#2942)
  • Event-model explorer at /.cratis/event-model: a hierarchy of the embedded documents, the event-model board with zoom controls and a View menu (detail level, properties, arrows or lines) whose choices are remembered in the browser, and the source of each document, read-only in Monaco with Screenplay syntax highlighting. Map it with app.MapCratisEventModel(), optionally requiring authorization. See Embedded event-model explorer.
  • The Cratis package now includes the explorer: Debug builds embed the documents and UseCratis() serves the explorer when the application is a debug build. Release builds do neither unless enabled. Configure it, require authorization or turn it off with AddCratisEventModelViewer(...).

Changed

  • Screenplay generation keeps members named after Screenplay keywords, such as Description, Concurrency or Tag, writing them as @name instead of dropping them; SP0032 is now reported as information.