From 5e70188404506a0d8455f5901dabf15a21379517 Mon Sep 17 00:00:00 2001 From: 3commascapital <3commascapital@gmail.com> Date: Wed, 24 Aug 2022 23:16:08 -0500 Subject: [PATCH] Removes user property in order to utilize newly created resolver --- docs/content/getting-started.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index 00f4fabf19..0dd7c9b5aa 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -252,7 +252,6 @@ func (r *mutationResolver) CreateTodo(ctx context.Context, input model.NewTodo) todo := &model.Todo{ Text: input.Text, ID: fmt.Sprintf("T%d", rand.Int()), - User: &model.User{ID: input.UserID, Name: "user " + input.UserID}, UserID: input.UserID, } r.todos = append(r.todos, todo)