Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return type of deleteMany should be the cids you deleted #311

Merged
merged 1 commit into from
May 1, 2021

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Apr 30, 2021

It should not leak datastore keys, instead return the cids you deleted.

Lets us not depend on ipfs-repo or interface-datastore in the types of
ipfs-blockstore, then ipld, then ipfs-http-client.

It should not leak datastore keys, instead return the cid you deleted.

Lets us not depend on ipfs-repo or interface-datastore in the types of
ipfs-blockstore, then ipld, then ipfs-http-client.
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM
This should be breaking change right?

@achingbrain achingbrain changed the title fix: return type of blockstore deleteMany should be the cids you deleted fix: return type of deleteMany should be the cids you deleted May 1, 2021
@achingbrain achingbrain merged commit 7760066 into master May 1, 2021
@achingbrain achingbrain deleted the fix/blockstore-delete-many-return-cids branch May 1, 2021 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants