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
PLAY0690 warns when a reducer-backed read model cannot be keyed the way it is queried: a single-instance query looks the view up by a type that is not the event-source identity type of the events the reducer observes, or the reducer observes events whose producers have different identity types. Reducer instances are keyed by each event's event-source id, so the warning points to a projection with property keys, or a join, instead (part of #132)
The warning compares declared identity types only where every producer is known (commands with for, implicit or generated identifiers, and reactions with an explicit for), applies the reducer's from filters first, and stays silent for events from reactions without for, captures, seeds, code or other applications; screenplay check, MCP diagnostics and the editor host report it, and --warnaserror turns it into an error (part of #132)