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

Expose QueryRejectedError #1616

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

closes #1612

@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review September 2, 2024 00:55
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner September 2, 2024 00:55
@@ -220,6 +220,10 @@ type ScheduleClientCreateInput = internal.ScheduleClientCreateInput
// ClientOutoundInterceptor.UpdateWorkflow.
type ClientUpdateWorkflowInput = internal.ClientUpdateWorkflowInput

// QueryRejectedError is a possible error that can be returned by
// ClientOutboundInterceptor.QueryWorkflow to indicate that the query was rejected by the server.
type QueryRejectedError = internal.QueryRejectedError
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arguably may be better to expose in temporal package.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit eb41d13 into temporalio:master Sep 3, 2024
13 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.

Request to make queryRejectedError public to enhance Interceptor error handling
2 participants