Provide the connectionDefinitionBuilder
in AbstractQueryRewriter
through DI instead of by subclassing
#74
Labels
refactoring
Code improvement without behavior change
The
AbstractQueryRewriter
uses internally aconnectionDefinitionBuilder
to build theconnection definition
string.Every time we want/need a different implementation of the builder we are forced to subclass the
QueryRewriter
. We should provide theconnectionDefinitionBuilder
as a constructor parameter and let the client decide the right implementationThe text was updated successfully, but these errors were encountered: