vert-x3/vertx-config

Deprecate ConfigRetriever#getConfigAsFuture static method

Closed this issue · 0 comments

vietj commented

In Vert.x 4 this method is now an instance method of ConfigRetriever, so we deprecate this in 3.x

// deprecated
Future<JsonObject> fut = ConfigRetriever. getConfigAsFuture(retriever);

// instead use in 3.X
fut = Future.future(retriever::getConfig);

// or in 4.0
fut = retriever.getConfig();