Skip to content

Commit 8845e0b

Browse files
authored
Deprecate GraphDatabase.routingDriver (#1239)
* Deprecate GraphDatabase.routingDriver * Formatting
1 parent 505f214 commit 8845e0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/src/main/java/org/neo4j/driver/GraphDatabase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ static Driver driver(URI uri, AuthToken authToken, Config config, DriverFactory
141141
* @param authToken authentication to use, see {@link AuthTokens}
142142
* @param config user defined configuration
143143
* @return a new driver instance
144+
* @deprecated driver should be configured with initial address resolution as documented in the driver manual
144145
*/
146+
@Deprecated
145147
public static Driver routingDriver(Iterable<URI> routingUris, AuthToken authToken, Config config) {
146148
return routingDriver(routingUris, authToken, config, new DriverFactory());
147149
}

0 commit comments

Comments
 (0)