Skip to content

Commit

Permalink
Deprecate GraphDatabase.routingDriver (#1239) (#1241)
Browse files Browse the repository at this point in the history
* Deprecate GraphDatabase.routingDriver

* Formatting
  • Loading branch information
injectives committed Jun 1, 2022
1 parent cdf2b1e commit 6a0153f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver/src/main/java/org/neo4j/driver/GraphDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ static Driver driver(URI uri, AuthToken authToken, Config config, DriverFactory
* @param authToken authentication to use, see {@link AuthTokens}
* @param config user defined configuration
* @return a new driver instance
* @deprecated driver should be configured with initial address resolution as documented in the driver manual
*/
@Deprecated
public static Driver routingDriver(Iterable<URI> routingUris, AuthToken authToken, Config config) {
return routingDriver(routingUris, authToken, config, new DriverFactory());
}
Expand Down

0 comments on commit 6a0153f

Please sign in to comment.