Skip to content

Feature/support list element validation for all constraints #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
final reade update
  • Loading branch information
pelletier197 committed Jul 25, 2021
commit 213406a6a21d8ec532661be4edef72cd447e3509
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ The element must have a non-zero size.

### @ContainerNotEmpty

The element must have a non-zero size.
The list or input object must have a non-zero size.

- Example : `updateAccident( accidentNotes : [Notes]! @ContainerNotEmpty) : DriverDetails`

Expand Down Expand Up @@ -482,7 +482,7 @@ The string's size must be between the specified `min` and `max` boundaries (incl

- Example : `updateDrivingNotes( drivingNote : String @Size( min : 1000, max : 100000)) : DriverDetails`

- Applies to : `String`, `ID`
- Applies to : `String`, `ID`, `Lists`

- SDL : `directive @Size(min : Int = 0, max : Int = 2147483647, message : String = "graphql.validation.Size.message") on ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION`

Expand Down