Skip to content

Commit 76088fd

Browse files
author
Jackson Kearl
authored
Fix bug causing completion handlers to sometimes return old results (#1361)
* Fix bug causing completion handlers to sometimes return old results * Update CHANGELOG.md
1 parent 5da98d6 commit 76088fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- `apollo-tools`
2525
- <First `apollo-tools` related entry goes here>
2626
- `vscode-apollo`
27-
- <First `vscode-apollo` related entry goes here>
27+
- Fix bug causing some editor features to sometimes give stale results [#1361](https://github.com/apollographql/apollo-tooling/pull/1361)
2828

2929
## `apollo@2.13.1`, `apollo-graphql@0.3.2`
3030

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import debounce from "lodash.debounce";
22

33
export function debounceHandler(handler: (...args: any[]) => any) {
4-
return debounce(handler, 400, { trailing: true });
4+
return debounce(handler, 400, { leading: true });
55
}

0 commit comments

Comments
 (0)