Skip to main content

constraint

constraint is a directive that will perform validation on input fields used as arguments to parameters passed in to operations.

directive @constraint(
min: Int
max: Int
) on ARGUMENT_DEFINITION

Arguments

constraint.min ● Int scalar

constraint.max ● Int scalar