Skip to content

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

Add support for calling Workflow.getInfo from query handler. The problem is query handlers aren't run in workflow threads. Running them in workflow threads is not really a viable solution since they are run independently of the other workflow threads so I added a new path to pass the workflow context when in a query.

closes #1120
closes #294

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit cea73d3 into temporalio:master Jun 2, 2025
9 checks passed
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.

Cannot return value of WorkflowLocal var from query method Support Workflow.getInfo from query method body

2 participants