ericclemmons / ericclemmons/customized-graphiql

Race condition

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```gql
query something {
version
books
}
```

auto-completes to:

```gql
query something {
version
books {
title
author
}
}
```

**But**, prettify has a race condition for response times where it seems the previous query (before auto-adding of fields) happens and you see the auto-added fields, but then they get removed.

Perhaps auto-formatting shouldn't be enabled like this? (Since it also loses cursor position)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.