From 415ddffe8593ebb82dbb9c06ad7cd38027abdd42 Mon Sep 17 00:00:00 2001 From: Rajat Bajaj Date: Tue, 3 Sep 2024 13:16:42 +0530 Subject: [PATCH] Patch: Removed MinItems validation for precedence on Connection Resource (#1017) * Removed min/max validation on precendence slice * reverted maxItems validation Signed-off-by: BryanLewis-AtOkta --- internal/auth0/connection/schema.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/auth0/connection/schema.go b/internal/auth0/connection/schema.go index 4cc0c1af..58863366 100644 --- a/internal/auth0/connection/schema.go +++ b/internal/auth0/connection/schema.go @@ -859,10 +859,9 @@ var optionsSchema = &schema.Schema{ "username", }, true), }, + MaxItems: 3, Optional: true, Computed: false, - MaxItems: 3, - MinItems: 3, Description: "Order of attributes for precedence in identification." + "Valid values: email, phone_number, username. " + "If Precedence is set, it must contain all values (email, phone_number, username) in specific order",