cardinality
To annotate the valid cardinality for a field (i.e., how many elements are allowed). * min: the minimum allowed occurrences. * max: the maximum allowed occurrences.
directive @cardinality(
min: Int
max: Int
) on FIELD_DEFINITION
To annotate the valid cardinality for a field (i.e., how many elements are allowed). * min: the minimum allowed occurrences. * max: the maximum allowed occurrences.
directive @cardinality(
min: Int
max: Int
) on FIELD_DEFINITION
cardinality.min ● Int scalarcardinality.max ● Int scalar