Skip to content

Commit

Permalink
Merge pull request #1173 from vigneshwerv/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect variable names in add-graphql.mdx
  • Loading branch information
hayes committed Mar 8, 2024
2 parents 4550ae5 + a9210b1 commit 279fa71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/docs/plugins/add-graphql.mdx
Expand Up @@ -59,7 +59,7 @@ const builder = new SchemaBuilder({
add: {
// You can add individual types
// This accepts Any GraphQLNamedType (Objects, Interface, Unions, Enums, Scalars, and InputObjects)
types: [schema.getType('User'), schema.getType('Post')],
types: [existingSchema.getType('User'), existingSchema.getType('Post')],
// Or you can add an entire external schema
schema: existingSchema,
},
Expand Down

0 comments on commit 279fa71

Please sign in to comment.