final DAGNode<Component, Dependency> toBuild;
RecommenderGraphBuilder rgb = new RecommenderGraphBuilder();
rgb.addBindings(config.getBindings());
DependencySolver solver = rgb.buildDependencySolver();
try {
toBuild = solver.rewrite(graph);
} catch (ResolutionException ex) {
throw new RecommenderConfigurationException("error reconfiguring recommender", ex);
}
GraphtUtils.checkForPlaceholders(toBuild, logger);