You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The Screenplay generator extracts reactors that handle command refusals with Invoke.Command(...).OnRefused(...) and Acknowledge(...) into invokes … on refused [by validation | authorization | constraint …] branches. Branches appear in declaration order. Branches that produce events map CommandRefusal.Message to $refusal.message, and the constraint name to $refusal.constraint under constraint selectors. A reactor whose callbacks cannot be proven pure, or whose output is capped below ESM v19, keeps its file reference and reports SP0071. (#3094)
New analyzer ARCCHR0027 warns when an OnRefused branch returns something the runtime rejects, such as a command, a non-event object or an empty collection. See ARCCHR0027. (#3094)
Changed
CommandInvocation carries Chronicle's [ReactorSideEffect] marker, so reactors that return command invocations synchronously no longer raise CHR0054. (#3094)
Arc requires Cratis Chronicle 19.63.0 or later and Cratis Screenplay 4.160.0 or later. (#3094)