💥 Proposal
We now have a flow to generate all requests in an execution using Stack::sample_authorization. With that in hand, only should be able to then create a complete authorization (i.e. generate all remaining transitions). So authorize_request could:
- take in an array of requests
- be renamed to
authorize_requests
For this to be possible we may need to support a new CallStack variant or adjust some evaluate_function logic...
Open question: are there any hypothetical cases where Stack::sample_authorization may fail making it worth to preserve the existing API?
💥 Proposal
We now have a flow to generate all requests in an execution using
Stack::sample_authorization. With that in hand, only should be able to then create a complete authorization (i.e. generate all remaining transitions). Soauthorize_requestcould:authorize_requestsFor this to be possible we may need to support a new CallStack variant or adjust some evaluate_function logic...
Open question: are there any hypothetical cases where
Stack::sample_authorizationmay fail making it worth to preserve the existing API?