Skip to content

Conversation

@jgoz
Copy link
Collaborator

@jgoz jgoz commented Sep 4, 2025

CancelTokens are deprecated in Axios in favor of AbortController and AbortSignal.

This PR changes QueryRunner to accept an AbortSignal (signal) and to pass that signal to the query executor instead of cancel tokens. It also changes the query executor function signature to accept an object instead of individual parameters.

@changeset-bot
Copy link

changeset-bot bot commented Sep 4, 2025

🦋 Changeset detected

Latest commit: 744751b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
druid-query-toolkit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@vogievetsky vogievetsky left a comment

Choose a reason for hiding this comment

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

gr 🎱

@vogievetsky vogievetsky merged commit b94b2c1 into master Sep 4, 2025
1 check passed
@vogievetsky vogievetsky deleted the abort-signal branch September 4, 2025 21:57
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