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
A model that provides values to its request context now renders: provide at the application, a module, a feature or a slice becomes a generated ProvidedValueResolvers service on Choreography's context value engine, resolving each value lazily and once per request, with the nearest declaration winning. Literal, $context expression, host and keyed snapshot query sources render, and the host registers an empty IHostContextValues you can replace from Customizations/Program.cs. See Provided values rendering. (part of #1116)
Stage admits ESM 53, the version that carries provided values, audiences and availability gates. A model that declares an audience, an availability or an available gate is refused with STAGE-ESM-016 until those render.
STAGE-ESM-075 and STAGE-ESM-076 refuse a provided value Stage cannot resolve faithfully, such as a query with authorization, filters or a performer, a query keyed by a literal, a collection or a concept type.
Changed
Stage now builds against Screenplay 6.26.0 and Choreography 2.7.0, and rendered applications pin Choreography 2.7.0. The scaffold adds GeneratedProvideRegistration.cs and registers it from Program.cs.