Skip to content

Commit bc6fe61

Browse files
authored
chore: fix typos for extended validation plugin (#215)
1 parent f4924c7 commit bc6fe61

File tree

1 file changed

+3
-2
lines changed
  • packages/plugins/extended-validation

1 file changed

+3
-2
lines changed

packages/plugins/extended-validation/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can use union inputs either via a the SDL flow, by annotating types and fiel
5656

5757
First, make sure to add that rule to your plugin usage:
5858

59-
````ts
59+
```ts
6060
import { useExtendedValidation, OneOfInputObjectsRule } from '@envelop/extended-validation';
6161

6262
const getEnveloped = evelop({
@@ -66,14 +66,15 @@ const getEnveloped = evelop({
6666
}),
6767
],
6868
});
69+
```
6970

7071
#### Schema Directive Flow
7172

7273
Make sure to include the following directive in your schema:
7374

7475
```graphql
7576
directive @oneOf on INPUT_OBJECT | FIELD_DEFINITION
76-
````
77+
```
7778

7879
Then, apply it to field definitions, or to a complete `input` type:
7980

0 commit comments

Comments
 (0)