diff --git a/src/validation/model.rs b/src/validation/model.rs index 164be8ef..234faea3 100644 --- a/src/validation/model.rs +++ b/src/validation/model.rs @@ -243,7 +243,7 @@ impl Schema { opid, *type_id, err, )); } - if count >= *max_items { + if count > *max_items { status.add_failure(validation::Failure::SchemaGlobalStateLimit( opid, *type_id, count, *max_items, ));