Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: return nested value from dag.get #3966

Merged
merged 2 commits into from
Dec 6, 2021
Merged

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Dec 3, 2021

If we're traversing thorough and object and the thing at the end of the path is a CID, load that thing and return it as the final value, unless localResolve is true, in which case return the CID.

Fixes #3957

If we're traversing thorough and object and the thing at the end of
the path is a CID, load that thing and return it as the final value.

Fixes #3957
@achingbrain achingbrain merged commit 45ac973 into master Dec 6, 2021
@achingbrain achingbrain deleted the fix/return-nested-value branch December 6, 2021 10:32
This was referenced Jan 21, 2022
SgtPooki referenced this pull request in ipfs/js-kubo-rpc-client Aug 18, 2022
If we're traversing thorough and object and the thing at the end of the path is a CID, load that thing and return it as the final value, unless `localResolve` is true, in which case return the CID.

Fixes #3957
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-core: dag.get does not return nested CID data
3 participants