-
Notifications
You must be signed in to change notification settings - Fork 67
ipfs@0.41 update: option 2 #385
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
ipfs@0.41 update: option 2 #385
Conversation
de2fd6c
to
2a58f54
Compare
7e976fb
to
163e859
Compare
@zebateira I've only had time to look at the first real lesson here (http://localhost:3000/#/regular-files-api/03), but a few thoughts:
Sorry I didn't have time to get to more of this, but happy to chat tomorrow about these first impressions and then put in some more time on it. |
Yeah, I suggest separating into two lessons. I'm not sure what kind of separation should we do though.
Yeah, it always returns an async iterable.
I don't think this is necessary. |
It's just the name of the variable. From the docs the
Agreed to make this lesson the first one where they need to use the |
I'm working on trying to understand if we can test that the result is an iterable - if it's possible then we can do this. |
Yeah, I think just a reference to the old docs would be enough. We shouldn't be teaching an older version of |
I'm trying to figure that out now. |
Second option for dealing with the new js ipfs api that always returns iterables.
This second approach uses the
it-all
package from @achingbrain.all
functionSee original WIP PR: #381