graphql / graphql/graphiql

[graphiql] stopping query doesn't stop inflight request

Open
#3,030 1 comment 0 reactions 0 assignees View on GitHub
bug graphiql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Start a query that takes a long time to return and stop it.
The UI updates, but the inflight request isn't aborted.

### Expected Behavior

Stopping a query aborts the http request

### Steps To Reproduce

_No response_

### Module pattern

- [ ] graphiql-umd
- [ ] graphiql-esm
- [ ] graphiql-commonjs

### Environment

```Markdown
- GraphiQL Version: 2.3.0
```

### Anything else?

```Markdown
For this to be possible the fetcher interface should probably allow setting an abortcontroller
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.