Skip to content

Commit 44340b8

Browse files
committed
chore: make v2 vs v3 clearer
1 parent daed9a0 commit 44340b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Allows using @constraint as a directive to validate input data. Inspired by [Con
1111
npm install graphql-constraint-directive
1212
```
1313

14+
For GraphQL v15 and below, use v2 of this package
15+
16+
```
17+
npm install graphql-constraint-directive@v2
18+
```
19+
1420
## Usage
1521
```js
1622
const { constraintDirective, constraintDirectiveTypeDefs } = require('graphql-constraint-directive')

0 commit comments

Comments
 (0)