Skip to content

Commit 6c758e9

Browse files
unicodeveloperpeggyrayzis
authored andcommitted
Change GraphQL to graph
1 parent 8cf1260 commit 6c758e9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/source/tutorial/resolvers.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "3. Write your graph's resolvers"
33
description: Start here for the Apollo fullstack tutorial
44
---
55

6-
It's time to finally leverage all the data sources logic in our graph's resolvers. Resolvers provide the instructions for turning a GraphQL operation into data. They are functions that fetch or modify data from underlying data sources for fields in a schema type. There are a few things to note about resolver functions.
6+
It's time to finally leverage all the data sources logic in our graph's resolvers. Resolvers provide the instructions for turning a graph operation into data. They are functions that fetch or modify data from underlying data sources for fields in a schema type. There are a few things to note about resolver functions.
77

88
1. A resolver function must bear the same name as the field it operates on.
99
2. A resolver function must return the type of data that was specified in the schema field.
@@ -123,6 +123,8 @@ The `trips` resolver function works like the steps outlined below:
123123

124124
<h2 id="write-query">Write a query in the playground</h2>
125125

126+
127+
126128
<h2 id="authentication">Authenticate users</h2>
127129

128130
<h2 id="testing">Test your graph</h2>

0 commit comments

Comments
 (0)