This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Streamlining IPFS Config #3390
Labels
exploration
kind/discussion
Topical discussion; usually not changes to codebase
kind/wontfix-migration-available
#3365 spawned discussions around config. I think deserves a separate conversation and possibly pull request based on consensus.
Right now there are various assumptions made about the config across the code base e.g.
Addresses
orDiscovery
.All this makes it very difficult to encode invariants in type checker and uphold them as well. I would like to propose isolating the config parsing, merging access with defaults etc... into separate module that deals with all this so all the code paths can be be free of those concerns and be valid.
The text was updated successfully, but these errors were encountered: