Skip to content

Commit

Permalink
chore: update schema-loading readme to use correct import (#4948)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanechua committed Jan 5, 2023
1 parent e7fe51c commit 72cdb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/docs/schema-loading.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ You can extend the loaded schema with resolvers

```ts
import { join } from 'node:path'
import { loadSchemaSync } from '@graphql-tools/load'
import { loadSchema } from '@graphql-tools/load'
import { GraphQLFileLoader } from '@graphql-tools/graphql-file-loader'
import { addResolversToSchema } from '@graphql-tools/schema'
import { createServer } from '@graphql-yoga/node'
Expand Down

0 comments on commit 72cdb22

Please sign in to comment.