Skip to content
This repository was archived by the owner on Aug 7, 2022. It is now read-only.

fix: KV Namespace list method accepts an object#32

Open
13rac1 wants to merge 3 commits into
masterfrom
kv-list-object
Open

fix: KV Namespace list method accepts an object#32
13rac1 wants to merge 3 commits into
masterfrom
kv-list-object

Conversation

@13rac1

@13rac1 13rac1 commented Jun 4, 2021

Copy link
Copy Markdown
Contributor

The KV.list() method signature according to the docs is:

NAMESPACE.list({prefix?: string, limit?: number, cursor?: string})

This solution seems correct to resolve #27 but I'm not 100% about it. Open to better ideas??? @adamjakab @marcelduin

@13rac1 13rac1 added the bug Something isn't working label Jun 4, 2021

@richardkalehoff richardkalehoff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of minor suggestions, but this looks good to me 👍🏻

Comment thread test/helloworker.test.ts
Comment thread test/helloworker.test.ts Outdated
13rac1 and others added 2 commits June 9, 2021 11:32
Co-authored-by: Richard Kalehoff <richardkalehoff@gmail.com>
Co-authored-by: Richard Kalehoff <richardkalehoff@gmail.com>
@13rac1 13rac1 self-assigned this Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KV Namespace list method signature confusion

2 participants