This is the initial work on making the entire router immutable. In the process I also got rid of the dependency on guzzlehttp (or, for that matter, any concrete PSR-7 implementation). I also optimized quite a few tests in the process, but the tests for the Dash\Route\ namespace still need to be rewritten.
By the way, after this PR is in, the core functionality of the router is feature-complete. There are still a few low-prio features missing, like the value transformers and translation, but those should not change the API anymore.
This is the initial work on making the entire router immutable. In the process I also got rid of the dependency on guzzlehttp (or, for that matter, any concrete PSR-7 implementation). I also optimized quite a few tests in the process, but the tests for the
Dash\Route\
namespace still need to be rewritten.By the way, after this PR is in, the core functionality of the router is feature-complete. There are still a few low-prio features missing, like the value transformers and translation, but those should not change the API anymore.