sparse-lifeguard-95737
10/06/2022, 7:11 PMGet(Result, {request: Request, environment_name: EnvironmentName})
and then a:
@rule
async def get_result(request: Request) -> Result:
sub_request = request.do_something()
return await Get(Result, SubRequest, sub_request)
does the 2nd Get
run in the environment requested by the enclosing Get
? or does each Get
need to specify an env name when applicable?witty-crayon-22786
10/06/2022, 7:43 PMdoes the 2ndthis. environments propagate down through the graph in places where a consumer needs them.run in the environment requested by the enclosingGet
?Get
sparse-lifeguard-95737
10/06/2022, 7:43 PMwitty-crayon-22786
10/06/2022, 7:44 PM@union
doesn’t declare that a type is present, it won’t be.Get
callsite, anything that is in scope may end up used by consumers