Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docstring to use public alias for workflow.Execution #752

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

psigen
Copy link
Contributor

@psigen psigen commented Mar 14, 2022

What was changed

Changed docstring to refer to workflow.Execution instead of WorkflowExecution.

Why?

In the docstring describing the async use of ChildWorkflowExecution, there is a reference to a type
called WorkflowExecution. This is available in internal, but when it is exported through the workflow
package, it is actually renamed to workflow.Execution.

See:

Execution = internal.WorkflowExecution

Checklist

  • This is a pure documentation change.

In the docstring describing the async use of `ChildWorkflowExecution`, there is a reference to a type
called `WorkflowExecution`.  This is available in `internal`, but when it is exported through the `workflow`
package, it is actually renamed to `workflow.Execution`.

See: https://github.com/temporalio/sdk-go/blob/c453756356db4e5ae9fcabd416a6a8e57db5cc35/workflow/workflow.go#L45
@CLAassistant
Copy link

CLAassistant commented Mar 14, 2022

CLA assistant check
All committers have signed the CLA.

@cretz cretz merged commit b06c84a into temporalio:master Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants