Skip to content

Commit

Permalink
Merge pull request #1039 from nathanchapman/patch-1
Browse files Browse the repository at this point in the history
Update error plugin documentation to reference correct plugin names
  • Loading branch information
hayes authored Sep 21, 2023
2 parents 483fa86 + aafacba commit d09258a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/pages/docs/plugins/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ query {
### With the dataloader plugin

To use this in combination with the dataloader plugin, ensure that that errors plugin is listed
BEFORE the validation plugin in your plugin list.
BEFORE the dataloader plugin in your plugin list.

If a field with `errors` returns a `loadableObject`, or `loadableNode` the errors plugin will now
catch errors thrown when loading ids returned by the `resolve` function.
Expand All @@ -363,7 +363,7 @@ handle these types of errors.
### With the prisma plugin

To use this in combination with the prisma plugin, ensure that that errors plugin is listed BEFORE
the validation plugin in your plugin list. This will enable `errors` option to work work correctly
the prisma plugin in your plugin list. This will enable `errors` option to work work correctly
with any field builder method from the prisma plugin.

`errors` can be configured for any field, but if there is an error pre-loading a relation the error
Expand Down

1 comment on commit d09258a

@vercel
Copy link

@vercel vercel bot commented on d09258a Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.