From 6e573b3705ac4eb9ca28c2db322b30070cad6074 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 15 Dec 2024 21:48:21 -0800 Subject: [PATCH] Avoid deprecated field in Welcom page Summary: Test Plan: --- website/docs/01-getting-started/index.mdx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/website/docs/01-getting-started/index.mdx b/website/docs/01-getting-started/index.mdx index 7f2c7fca..49b7c079 100644 --- a/website/docs/01-getting-started/index.mdx +++ b/website/docs/01-getting-started/index.mdx @@ -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 */ @@ -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 */ @@ -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.") } """