Skip to content

Commit 6e573b3

Browse files
committed
Avoid deprecated field in Welcom page
Summary: Test Plan:
1 parent a3a1a8f commit 6e573b3

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

website/docs/01-getting-started/index.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ export function me(): User {
2222
return new User();
2323
}
2424

25-
/**
26-
* @gqlQueryField
27-
* @deprecated Please use `me` instead. */
28-
export function viewer(): User {
29-
return new User();
30-
}
31-
3225
/**
3326
* A user in our kick-ass system!
3427
* @gqlType */
@@ -52,13 +45,6 @@ export function me(): User {
5245
return { name: "Alice" };
5346
}
5447

55-
/**
56-
* @gqlQueryField
57-
* @deprecated Please use `me` instead. */
58-
export function viewer(): User {
59-
return { name: "Alice" };
60-
}
61-
6248
/**
6349
* A user in our kick-ass system!
6450
* @gqlType */
@@ -83,7 +69,6 @@ Both of the above examples define the following GraphQL schema:
8369
```graphql
8470
type Query {
8571
me: User
86-
viewer: User @deprecated(reason: "Please use `me` instead.")
8772
}
8873

8974
"""

0 commit comments

Comments
 (0)