Skip to content

Remove the df parameter from orchestration contexts #422

@hossam-nasr

Description

@hossam-nasr

Currently, all orchestration APIs are provided under a df parameter inside the Context object, e.g., context.df.callActivity(), context.df.callSubOrchestration(), context.df.currentUtcDateTime, etc.

Since all these durable APIs are a lot more relevant to the user than the other metadata (coming from Azure Functions directly) present in the context object, this issue is to explore whether we should provide the APIs directly in the Context object rather than nested inside a df property. We could also define our own type of orchestration context, picking only the relevant elements from the Functions context, instead of extending it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions