From 161bf2e7a4e0af95b03c955169a2293f8766317c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 11 May 2024 02:59:28 +0200 Subject: [PATCH] Update to c375cd96d51d4a996c133cb4f73402851cd16939 --- src/classes/validationschema.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/validationschema.gd b/src/classes/validationschema.gd index c3c30a6..30efe96 100644 --- a/src/classes/validationschema.gd +++ b/src/classes/validationschema.gd @@ -71,7 +71,7 @@ func _evaluate_recursive(random: String, parent_dict: Dictionary, path: String = var failed: Array[String] = [] for key in parent_dict: # Check if key exists in data - if data.get(key, random) == random: + if str(data.get(key, random)) == random: # Does not exist, append error failed.append(core.stringify_variables("Key %key% is present in schema but missing in data", { "key": path + "/" + key })) else: