Repository navigation
Release v4.153.0
The Cratis renderer now renders resolved validation rule bodies written in C# instead of refusing the model.
Changed
- Command rules and concept rules with a resolved C# body that returns
boolnow render into the generated command and concept validators through an app-local typed context, instead of being refused withSTAGE-ESM-005. A rule without a message gets the defaultA value does not satisfy the '<kind>' rule.(part of #513) - A validation rule body that reads
Tenant,CausedByorOccurredis refused withSTAGE-ESM-015, naming the member; bodies must pass the same pure gate as reducer and policy bodies. (part of #513) - Rendering an inline
generate rulefactory requires the implementation requirements and resolved contents from the same Screenplay compilation; the documentation now says so. (part of #513) - Command and concept code-validation bodies written as iterators (
yield returnof messages) now render into the generated validators; interpolated messages are formatted with the invariant culture so they do not change with the host culture. Other constructs the pure gate refuses stay refused. (part of #513)