Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

fix: config get #825

Merged
merged 3 commits into from
Aug 6, 2018
Merged

fix: config get #825

merged 3 commits into from
Aug 6, 2018

Conversation

hacdias
Copy link
Contributor

@hacdias hacdias commented Aug 3, 2018

Fixes config.get by always returning an object and never a buffer. It can be a possible breaking change for those using js-ipfs-api with go-ipfs, but not with js-ipfs.

Fixes #822.

@ghost ghost assigned hacdias Aug 3, 2018
@ghost ghost added the in progress label Aug 3, 2018
@hacdias hacdias changed the title fix: config get (#822) fix: config get Aug 3, 2018
@hacdias hacdias requested review from daviddias and alanshaw August 3, 2018 11:14
@hacdias
Copy link
Contributor Author

hacdias commented Aug 4, 2018

@diasdavid @alanshaw what do you think? 😄

@hacdias
Copy link
Contributor Author

hacdias commented Aug 6, 2018

What interface says.

Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

Needs tests to make sure this doesn't break again.

@hacdias
Copy link
Contributor Author

hacdias commented Aug 6, 2018

License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
@ghost ghost assigned alanshaw Aug 6, 2018
@hacdias
Copy link
Contributor Author

hacdias commented Aug 6, 2018

@alanshaw @diasdavid it's failing on unrelated endpoints (such as .resolve)

License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
@alanshaw alanshaw merged commit ef5a4a3 into master Aug 6, 2018
@ghost ghost removed the in progress label Aug 6, 2018
@alanshaw alanshaw deleted the fix-config-get branch August 6, 2018 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ipfs.config.get() returns different value types
3 participants