apollographql / apollographql/apollo-utils

KeyvAdapter v5 type support

Open
#459 13 comments 10 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
42
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Related to https://github.com/apollographql/apollo-utils/issues/457

TypeScript returns the following error:

```
Argument of type 'Keyv' is not assignable to parameter of type 'Keyv>'.
Type 'Keyv' is missing the following properties from type 'Keyv>': once, getMaxListeners, rawListeners, listenerCount, and 3 more.ts(2345)
```

Contributor guide

Open the contributing guide

Research direction

Start by reading the related issue 457 and locating the KeyvAdapter type references in the repository. Reproduce the reported TypeScript error, then verify that Keyv v5 is accepted by the adapter and the relevant type checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.