Repository navigation
Release v22.50.0
Arc's code analysis now recognizes Chronicle's typed [FromEventSource<TSource>(stream)] on reactors and reducers, and a new analyzer checks the stream against the definition.
Added
- Screenplay analysis keeps the event source definition name and stream a reactor or reducer is filtered to in the new
ObservedEventSourceModel, exposed as an optionalEventSourceonReactorModelandProjectionModel. The previous constructors still exist, so existing consumers compile and run unchanged. (part of #3009) (part of #2987) ARCCHR0014warns when a reactor or reducer observes a stream its event source definition does not declare. Only the definition's own attributes are read, so definitions from referenced assemblies are checked the same way. (part of #3009) (part of #2987)SP0047andSP0048diagnostics: the latest published Screenplay (Cratis.Screenplay4.55.1) has no syntax to narrow a reaction or projection to an event source or stream, so the filter is reported instead of being silently dropped or invented. The observer is still emitted. (part of #3009) (part of #2987)