Skip to content

Commit

Permalink
Update README.md (#79)
Browse files Browse the repository at this point in the history
Fix reference to `IExplicitUsageOnlyValidator`
  • Loading branch information
badsyntax authored Jun 8, 2022
1 parent 588da46 commit e5c25b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ There are some cases though where explicitness is either required or useful, so

For example, if you've got a field argument that's a scalar type (e.g. not an input type), like an `int`, creating
a validator targeting `int` would mean every top-level `int` argument across your schema would be implicitly validated, which wouldn't make sense.
Instead, annotate the validator by having it inherit `IExplicitUsageOnly` and then explicitly setup it up on the argument (see below).
Instead, annotate the validator by having it inherit `IExplicitUsageOnlyValidator` and then explicitly setup it up on the argument (see below).

Annotation API:

Expand Down

0 comments on commit e5c25b1

Please sign in to comment.