From 6926fab873b1bffecfd456cdf113b646e561d2d9 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 11 May 2024 11:56:14 +0200 Subject: [PATCH] Add path to failed.append() call --- 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 6527e80..a4f4cff 100644 --- a/src/classes/validationschema.gd +++ b/src/classes/validationschema.gd @@ -86,6 +86,6 @@ func _evaluate_recursive(random: String, schema_parent: Dictionary, data_parent: logger.error(core.stringify_variables("Validation for key %key% failed", { "key": path + "/" + key })) for failure in schema_parent[key].failures: # Append failures from single - failed.append(key + ": " + failure) + failed.append(path + "/" + key + ": " + failure) return failed