RouteCallQueries

The reads of a call of a service route: the query side asked as the call's caller in the tenant and scope the call acts in, what that caller may see there and nothing more. The one rule of a call's reads, which the edge gives a handler and the test DSL's call gives it too, beside RouteCallCommands.

Functions

Link copied to clipboard
fun of(queryApi: QueryApi, acting: Caller, target: TargetScope?): Queries

queryApi as acting, the call's caller in the tenant and scope the call acts in: its own, or those of the target its Wow-Scope named, which admission let it name. A TenantQueryApi, the node's, reads in a target by the read side's one rule of a target (TenantQueryApi.of a target), so a type whose tenant is fixed refuses a target naming another, as a query route does; any other API, a test's fake, reads as acting.