From 6a0153faab2bd18beaf3ceaa6a9e19cee4fc02c9 Mon Sep 17 00:00:00 2001 From: injectives <11927660+injectives@users.noreply.github.com> Date: Wed, 1 Jun 2022 17:51:19 +0100 Subject: [PATCH] Deprecate GraphDatabase.routingDriver (#1239) (#1241) * Deprecate GraphDatabase.routingDriver * Formatting --- driver/src/main/java/org/neo4j/driver/GraphDatabase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/src/main/java/org/neo4j/driver/GraphDatabase.java b/driver/src/main/java/org/neo4j/driver/GraphDatabase.java index bf6cdd672b..5d18b6f744 100644 --- a/driver/src/main/java/org/neo4j/driver/GraphDatabase.java +++ b/driver/src/main/java/org/neo4j/driver/GraphDatabase.java @@ -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 routingUris, AuthToken authToken, Config config) { return routingDriver(routingUris, authToken, config, new DriverFactory()); }