Skip to content

Commit

Permalink
docs: (typo fix) Updated reference to GraphQL Yoga from Apollo (#5731)
Browse files Browse the repository at this point in the history
* docs: (typo fix) Updated reference to GraphQL Yoga from Apollo

* docs: (typo fix) Updated reference to GraphQL Yoga from Apollo

Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
  • Loading branch information
rushabhhere and jtoar committed Jun 10, 2022
1 parent 14ec0c7 commit 218887b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter2/side-quest.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In this example, Redwood will look in `api/src/services/posts/posts.{js,ts}` for
- `updatePost({ id, input })`
- `deletePost({ id })`

To implement these, simply export them from the services file. They will usually get your data from a database, but they can do anything you want, as long as they return the proper types that Apollo expects based on what you defined in `posts.sdl.{js,ts}`.
To implement these, simply export them from the services file. They will usually get your data from a database, but they can do anything you want, as long as they return the proper types that GraphQL Yoga expects based on what you defined in `posts.sdl.{js,ts}`.

<Tabs groupId="js-ts">
<TabItem value="js" label="JavaScript">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In this example, Redwood will look in `api/src/services/posts/posts.{js,ts}` for
- `updatePost({ id, input })`
- `deletePost({ id })`

To implement these, simply export them from the services file. They will usually get your data from a database, but they can do anything you want, as long as they return the proper types that Apollo expects based on what you defined in `posts.sdl.{js,ts}`.
To implement these, simply export them from the services file. They will usually get your data from a database, but they can do anything you want, as long as they return the proper types that GraphQL Yoga expects based on what you defined in `posts.sdl.{js,ts}`.

<Tabs groupId="js-ts">
<TabItem value="js" label="JavaScript">
Expand Down

0 comments on commit 218887b

Please sign in to comment.