Release v20.65.0
Summary
Generates a Cratis Screenplay .play document from the source of an Arc application.
Added
Cratis.Arc.Screenplaypackage that generates a Screenplay.playdocument describing an Arc application - concepts, policies, modules, features and slices, with the commands, events, queries, projections, reactors, constraints and screens in each- Generation from source rather than from a running application, so a
.playfile can be produced from a checkout and regenerated in CI - Generation from a Roslyn
Compilation, so the package can be driven from a CLI, an MSBuild task or a source generator - Diagnostics naming any construct that has no Screenplay counterpart, and where it was found
- Model-bound
[ChildrenFrom]and[Nested]projections are recovered, matching what the fluent form already produced (#2385) - Named authorization policies are recovered, with their requirements read from
AddPolicyregistrations where those can be read (#2386) - Aggregate roots are followed from the command that reaches them, so a handler that mutates an aggregate states the events it produces
- Screens are declared for the component beside each slice