Skip to content

Release v22.50.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 11:09
e722789

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 optional EventSource on ReactorModel and ProjectionModel. The previous constructors still exist, so existing consumers compile and run unchanged. (part of #3009) (part of #2987)
  • ARCCHR0014 warns 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)
  • SP0047 and SP0048 diagnostics: the latest published Screenplay (Cratis.Screenplay 4.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)