2
0
Fork 0

Update to c375cd96d51d4a996c133cb4f73402851cd16939

This commit is contained in:
JeremyStar™ 2024-05-11 02:59:28 +02:00
parent 7d3739eebf
commit 161bf2e7a4
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -71,7 +71,7 @@ func _evaluate_recursive(random: String, parent_dict: Dictionary, path: String =
var failed: Array[String] = [] var failed: Array[String] = []
for key in parent_dict: for key in parent_dict:
# Check if key exists in data # Check if key exists in data
if data.get(key, random) == random: if str(data.get(key, random)) == random:
# Does not exist, append error # Does not exist, append error
failed.append(core.stringify_variables("Key %key% is present in schema but missing in data", { "key": path + "/" + key })) failed.append(core.stringify_variables("Key %key% is present in schema but missing in data", { "key": path + "/" + key }))
else: else: