Skip to content

Support query.cancel() on Node #1030

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

Merged
merged 1 commit into from
Dec 11, 2019
Merged

Support query.cancel() on Node #1030

merged 1 commit into from
Dec 11, 2019

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Dec 11, 2019

Closes: #1021, #1027

Moves abort event to prevent xhr.open from calling it.
Ensure requestTask is set after the request sends.

  • Improves browser support

Moves abort event to prevent xhr.open from calling it.
Ensure requestTask is set after the request sends.
@codecov
Copy link

codecov bot commented Dec 11, 2019

Codecov Report

Merging #1030 into master will decrease coverage by 0.01%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1030      +/-   ##
==========================================
- Coverage   92.05%   92.03%   -0.02%     
==========================================
  Files          53       53              
  Lines        5112     5112              
  Branches     1142     1141       -1     
==========================================
- Hits         4706     4705       -1     
- Misses        406      407       +1
Impacted Files Coverage Δ
src/ParseQuery.js 96% <100%> (-0.15%) ⬇️
src/RESTController.js 84.21% <71.42%> (-0.31%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdbd385...41cb82a. Read the comment docs.

@dplewis
Copy link
Member Author

dplewis commented Dec 11, 2019

@JeromeDeLeon This should fix your issue. Can you verify it?

Copy link
Contributor

@acinader acinader left a comment

Choose a reason for hiding this comment

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

lgtm

@dplewis dplewis merged commit e974daf into master Dec 11, 2019
@dplewis dplewis deleted the query-cancel-node branch December 11, 2019 01:12
@JeromeDeLeon
Copy link
Contributor

@dplewis Thanks. I was able to run it with npm link and successfully tested it. I don't know why does it fail with github.

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.

Aborting query use case
3 participants