Skip to content

Commit 33dd410

Browse files
committed
Add discuss post link
1 parent 59bf2fe commit 33dd410

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/clientStubFromSlash.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ var Url = require("url-parse");
66
var clientStub_1 = require("./clientStub");
77
var PORT = "443";
88
function 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];

src/clientStubFromSlash.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { DgraphClientStub } from "./clientStub";
44

55
const 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

1011
export 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];

0 commit comments

Comments
 (0)