Skip to content

Commit

Permalink
Update CHANGELOG to show new QueryHandler type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
mlwilkerson committed Jun 5, 2024
1 parent 75e17a5 commit 0edf7a4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
into a single query document string. Thus, any `QueryHandler` callback must be updated
to handle the query variables.

Its type signature is now:

```typescript
export type QueryHandler = (document: string, variables?: object) => Promise<any>;
```

Suggestion:

```javascript
Expand Down Expand Up @@ -102,4 +108,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

### Added

- Initial version
- Initial version

0 comments on commit 0edf7a4

Please sign in to comment.