Skip to content

Commit 1f94456

Browse files
authored
Update graphql-server-apollo-yoga-with-server-preset.mdx (#9260)
1 parent 5b78d78 commit 1f94456

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

website/src/pages/docs/guides/graphql-server-apollo-yoga-with-server-preset.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ The server preset works best when the schema is split into smaller modules. This
3535
Here's the content of each schema module:
3636

3737
```graphql
38-
# src/schema/base.graphql
38+
# src/schema/base/schema.graphql
3939
type Query
4040
type Mutation
4141

42-
# src/schema/user.graphql
42+
# src/schema/user/schema.graphql
4343
extend type Query {
4444
user(id: ID!): User
4545
}
@@ -49,7 +49,7 @@ type User {
4949
isAdmin: Boolean!
5050
}
5151

52-
# src/schema/book.graphql
52+
# src/schema/book/schema.graphql
5353
extend type Query {
5454
book(id: ID!): Book
5555
}

0 commit comments

Comments
 (0)