ChainedConnection: Flatten into a DirectConnection
This is still not quite there, but I seem to have something that works in some cases and wanted to see if I'm on the right track. I'll leave some comments inline.
Main remaining big picture issues are:
-
Needs some more (maybe fancier) tests. Suggestions? -
Should the direct_connection
be a method in the class or a separate function?
Edited by Alexandru Fikl