Skip to content

Commit

Permalink
Avoid deprecated field in Welcom page
Browse files Browse the repository at this point in the history
Summary:

Test Plan:
  • Loading branch information
captbaritone committed Dec 16, 2024
1 parent a3a1a8f commit 6e573b3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions website/docs/01-getting-started/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ export function me(): User {
return new User();
}

/**
* @gqlQueryField
* @deprecated Please use `me` instead. */
export function viewer(): User {
return new User();
}

/**
* A user in our kick-ass system!
* @gqlType */
Expand All @@ -52,13 +45,6 @@ export function me(): User {
return { name: "Alice" };
}

/**
* @gqlQueryField
* @deprecated Please use `me` instead. */
export function viewer(): User {
return { name: "Alice" };
}

/**
* A user in our kick-ass system!
* @gqlType */
Expand All @@ -83,7 +69,6 @@ Both of the above examples define the following GraphQL schema:
```graphql
type Query {
me: User
viewer: User @deprecated(reason: "Please use `me` instead.")
}

"""
Expand Down

0 comments on commit 6e573b3

Please sign in to comment.