Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Jul 13, 2022

What was changed

Add get_current_history_length() on the workflow info instance

Why?

Users need length for some continue-as-new checks. Like Go at temporalio/sdk-go#851, we have chosen to put this as a getter on the info. We chose to use an explicit method instead of a property getter so it is clear to users this is not a property on the frozen workflow info.

@cretz cretz merged commit d91593d into temporalio:main Jul 13, 2022
@cretz cretz deleted the history_length branch July 13, 2022 18:48
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