How it works
So, you can make validation directive like this
type User {
id: ID! @id
firstName
@validation(
min: 3
max: 100
)
}
, but this can get a little cluttered in your view. This plugin registers each validation directive as a region, and then lets you collapse it with Ctrl + Shift + P
> Fold All Regions
. Then, unfold with Ctrl + Shift + P
> Unfold All Regions
.