File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ var Url = require("url-parse");
66var clientStub_1 = require ( "./clientStub" ) ;
77var PORT = "443" ;
88function clientStubFromSlashGraphQLEndpoint ( graphqlEndpoint , apiKey ) {
9- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
109 var url = new Url ( graphqlEndpoint ) ;
1110 var urlParts = url . host . split ( "." ) ;
1211 var firstHalf = urlParts [ 0 ] ;
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import { DgraphClientStub } from "./clientStub";
44
55const PORT = "443" ;
66/**
7- * @deprecated since v21.3 and will be removed in v21.07 release.
7+ * @deprecated since v21.3 and will be removed in v21.07 release. For more details, see:
8+ * https://discuss.dgraph.io/t/regarding-slash-cloud-dgraph-endpoints-in-the-clients/13492
89 */
910
1011export function clientStubFromSlashGraphQLEndpoint (
1112 graphqlEndpoint : string ,
1213 apiKey : string ,
1314) {
14- console . warn ( "This method is deprecated and will be removed in v21.07 release." ) ;
1515 const url = new Url ( graphqlEndpoint ) ;
1616 const urlParts = url . host . split ( "." ) ;
1717 const firstHalf = urlParts [ 0 ] ;
You can’t perform that action at this time.
0 commit comments