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.
Fixed
The Screenplay generator no longer drops then returns when a scenario reads the result through the null-forgiving operator (result!) or passes it as an in argument; these are reads, not writes. (#3092)
The Screenplay generator no longer states a command response as then returns when the scenario changes it before asserting: a write through any member or element of the executed result (assignment, ++/--, ref/out, including null-conditional chains), or a copy of the result or of a reference read through it (into a variable, field or initializer, a foreach, a pattern variable, or a returned, yielded or lambda value, also through ?:, ??, tuples and collection expressions), now keeps the response from being stated and reports the scenario instead. (#3092)