-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enabling experimental features #738
Comments
I think these options should be exposed as config options on a library level. We can then pass cli flags in js-ipfs as values for those (node.js) and simply set them directly when starting up the node in the browser. I would really like to stay away from global injections as much as possible for such things. We could also reuse the existing config file, and add a section |
We are now supporting experimental features by passing flags to the Does everyone feel like this is resolved? If so, I'll close the issue :) |
I feel the way it's done atm is good, ie. passing That said, I agree with @dignifiedquire's comment that it'd be nice to have the I'm ok closing this as it is (we have a way to do it), and perhaps if we want to, add the experimental to the config, we can rename this issue or open a new one to track it's status. |
Last steps to complete this task:
|
@diasdavid happy to help out with those last tasks (if they still need to be done). Any pointers where things should be documented? |
This got done meanwhile. Thanks @PascalPrecht :) |
We need a way to enable/disable experimental features throughout js-ipfs (that includes all the js-libp2p) in a way that is non-intrusive, easy to add and easy to remove, both in Node.js and the Browser.
A typical way to achieve this, is through env variables, but that might not be the ideal case for Browser bundles.
Thoughts, ideas?
The text was updated successfully, but these errors were encountered: