Azure / azure-functions-durable-js

JavaScript library for using the Durable Functions bindings
https://www.npmjs.com/package/durable-functions
MIT License
128 stars 47 forks source link

Can we change the type of the argument to `callActivity` and `callSubOrchestrator` into something other than a string? #445

Closed hossam-nasr closed 1 year ago

hossam-nasr commented 1 year ago

Same as #418 but narrowed down scope. This issue is particularly concerned with just changing the type of the argument to context.df.callActivity() and context.df.callSubOrchestrator() into something more reliable than a string. Ideally we should do this in a non-breaking way

hossam-nasr commented 1 year ago

Discussed offline. Let's do this change in a non-breaking way by using overloads to allow both a string and an object returned from a df.app.activity() call.

hossam-nasr commented 1 year ago

Closing in favor of #418