Closed hossam-nasr closed 1 year ago
@hossam-nasr: With the single object approach, is there a way to ensure that the orchestrator name is always present? That argument should always be required, as it is the name of the Function to invoke.
@davidmrdavid We could enforce it for TS users using types, and also error out if it's not present. However, if that's the case, I'd say maybe let's make the orchestrator name the first argument, and the second argument the options object with all other additional parameters
Based on discussion here. Currently, the default HTTP starter
client.startNew()
call looks like this:Ideally,
client.startNew()
should accept one single object as an argument, rather than 3 distinct arguments, so that:undefined
.Since this would be a breaking change, it might be better to include this change with the rest of the v3.x new programming model changes.