By making the ConnectionBuilder class a generic type, the static analysis tools will understand that the outputted ConnectionInterface contains a list of nodes of the expected type, augmenting the IDE completion and ensuring correctness of the code upstream. I wasn't sure about the target branch to submit the change to, so if I have to change it just ask and I will do it.
By making the
ConnectionBuilder
class a generic type, the static analysis tools will understand that the outputtedConnectionInterface
contains a list of nodes of the expected type, augmenting the IDE completion and ensuring correctness of the code upstream. I wasn't sure about the target branch to submit the change to, so if I have to change it just ask and I will do it.