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.
Changed
When a query or command name matches no endpoint, or several distinct ones, Stage attaches no route instead of guessing. The one exception is an unkeyed collection binding whose query has no endpoint of its own: it reads its read model's All<ReadModels> route, which answers the same rows; a binding with a by parameter is never widened to the unfiltered collection. The element carries routeStatus (unresolved or ambiguous) and a routeDiagnostic, and /stage/routes lists ambiguous names under diagnostics. See Which route a screen calls. (part of #236) (part of #237)
/stage/routes keys queries and commands by their own name only; full type names and endpoint display names are no longer included as keys. (part of #236) (part of #237)
Fixed
A screen's data binding now resolves to the query it names. A list declared as data AllWorkItems calls all-work-items and shows every work item, instead of the WorkItemById lookup over the same read model, which returned nothing without an argument. (part of #236) (part of #237)
Every modeled query is served under its own name, including queries without a by parameter, so /stage/routes maps AllWorkItems, WorkItemById and CommentsForWorkItem to their own routes. (part of #236) (part of #237)